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

haosdent commented on MESOS-2337:
---------------------------------

Or we could change src/python/src/meso/__init__.py and let it as the only 
__init__.py file which install to $PREFIX/lib/pythonX.Y/site-packages/mesos?

> __init__.py not getting installed in $PREFIX/lib/pythonX.Y/site-packages/mesos
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-2337
>                 URL: https://issues.apache.org/jira/browse/MESOS-2337
>             Project: Mesos
>          Issue Type: Bug
>          Components: build, python api
>            Reporter: Kapil Arya
>            Assignee: Marco Massenzio
>            Priority: Critical
>              Labels: mesosphere
>
> When doing a {{make install}}, the src/python/native/src/mesos/__init__.py 
> file is not getting installed in 
> {{$PREFIX/lib/pythonX.Y/site-packages/mesos/}}.  
> This makes it impossible to do the following import when {{PYTHONPATH}} is 
> set to the {{site-packages}} directory.
> {code}
> import mesos.interface.mesos_pb2
> {code}
> The directories {{$PREFIX/lib/pythonX.Y/site-packages/mesos/interface, 
> native}} do have their corresponding {{__init__.py}} files.
> Reproducing the bug:
> {code}
> ../configure --prefix=$HOME/test-install && make install
> {code}



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

Reply via email to