Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7310

Implement a separate python client library for the new cli

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • 1.3.0
    • None
    • cli
    • None

    Description

      cli_new in its current form is very difficult to package due to the following reasons:
      1. src/cli_new/lib/mesos imports plugins using relative imports, which fails if it is built into a pip package
      2. there is no setup.py script which defines what should be installed
      3. plugins/tests are unnecessarily included in the package, which are things consumers of the package shouldn’t be able to import

      having such a package will allow external consumers to be able to add application-specific wrappers on it, e.g. integration with ACL libraries of their choice.

      The plan as discussed will create a `mesos` package under `src/python/lib`, potentially including a `setup.py` for building the package into a PyPI package.

      Attachments

        Issue Links

          Activity

            People

              cinchurge Eric Chung
              cinchurge Eric Chung
              Kevin Klues Kevin Klues
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: