[ 
https://issues.apache.org/jira/browse/MESOS-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Chung updated MESOS-7310:
------------------------------
    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.


> Implement a separate python client library for the new cli
> ----------------------------------------------------------
>
>                 Key: MESOS-7310
>                 URL: https://issues.apache.org/jira/browse/MESOS-7310
>             Project: Mesos
>          Issue Type: Task
>          Components: cli
>    Affects Versions: 1.3.0
>            Reporter: Eric Chung
>            Assignee: Eric Chung
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to