You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2015/08/13 19:03:45 UTC

[jira] [Commented] (MESOS-3149) Use setuptools to install python cli package

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

haosdent commented on MESOS-3149:
---------------------------------

Hi, [~vinodkone] [~tillt] Let me describe my idea about this patch here. This patch try to fix this problem: when execute mesos-ps, mesos-cat, mesos-scp, mesos-tail, we would got this error.
{code}
Traceback (most recent call last):
  File "/usr/local/bin/mesos-cat", line 12, in <module>
    from mesos import http
ImportError: cannot import name http
{code}

So I think this patch is necessary to 0.24, could you help review this and commit it? Or we have a better way to fix the problem above? Thank you in advance. Also thank [~marco-mesos] help push this patch. ;-)

> Use setuptools to install python cli package
> --------------------------------------------
>
>                 Key: MESOS-3149
>                 URL: https://issues.apache.org/jira/browse/MESOS-3149
>             Project: Mesos
>          Issue Type: Task
>            Reporter: haosdent
>            Assignee: haosdent
>
> mesos-ps/mesos-cat which depends on src/cli/python/mesos could not work in OSX because "src/cli/python" is not installed to sys.path. It's time to finish this TODO.
>  
> {code}
> # Add 'src/cli/python' to PYTHONPATH.
> # TODO(benh): Remove this if/when we install the 'mesos' module via
> # PIP and setuptools.
> PYTHONPATH=@abs_top_srcdir@/src/cli/python:${PYTHONPATH}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)