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

Joseph Wu commented on MESOS-7310:
----------------------------------

{code}
commit f130a567d89cd1147d8c75d15963f88d3bb964e6
Author: Eric Chung <[email protected]>
Date:   Thu Apr 6 17:42:35 2017 -0700

    CLI: Renamed `lib/mesos` directory to `lib/cli`.
    
    This renames the `src/cli_new/lib/mesos` directory in order to avoid
    name clashes with the Python Scheduler/Executor module.  Currently
    both modules are imported as `mesos`.  This changes the CLI's
    name to `cli` instead.
    
    This will eventually allow the two modules to be merged into one.
    
    Review: https://reviews.apache.org/r/58248/
{code}

> 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