[ 
https://issues.apache.org/jira/browse/MESOS-7310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077041#comment-16077041
 ] 

Kevin Klues commented on MESOS-7310:
------------------------------------

{noformat}
commit 1b75c37cff41f1d6955e1b202f73193b57ea636f
Author: Eric Chung <[email protected]>
Date:   Thu Jul 6 10:54:37 2017 -0700

    Setup new directory for importable python libs in src/python.
    
    Part of MESOS-7310, this patch adds a new directory
    (src/python/lib/mesos), which will be importable via 'import mesos'
    from the cli.
    
    Review: https://reviews.apache.org/r/58394/
{noformat}

> 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.4.14#64029)

Reply via email to