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

haosdent edited comment on MESOS-2337 at 8/4/15 5:22 PM:
---------------------------------------------------------

A draft patch for this: https://reviews.apache.org/r/37081 . I only test in on 
CentOS 6.6, need test in other OS.


was (Author: haosd...@gmail.com):
A draft patch for this: https://reviews.apache.org/r/37081/diff/1#index_header 
. I only test in on CentOS 6.6, need test in other OS.

> __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