You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Eric Chung (JIRA)" <ji...@apache.org> on 2017/03/24 23:19:41 UTC
[jira] [Updated] (MESOS-7310) Implement a separate python client
library for the new cli
[ 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)