You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2019/09/17 20:14:00 UTC

[jira] [Commented] (DISPATCH-1364) "make install" does not install qpid_dispatch[_site.py] files in the correct location

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

Ganesh Murthy commented on DISPATCH-1364:
-----------------------------------------

Use the setuptools query function to determine where to install the distribution.

> "make install" does not install qpid_dispatch[_site.py] files in the correct location
> -------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1364
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1364
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.8.0
>            Reporter: Ken Giusti
>            Priority: Major
>             Fix For: Backlog
>
>
> Building and install qdr from source (cmake.... ; make install....) ends up putting qdr's python library modules in the wrong directory (not in the default python search path).
> Specifically, these files are incorrectly installed in a "site-packages" sub-directory:
> By default ubuntu's python does not use "site-packages" for installing 3rd party python packages - it uses "dist-packages" instead. 
> The default python paths in ubuntu are:
> {quote}>>> import sys
>  >>> sys.path
>  ['', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', *'/usr/local/lib/python3.6/dist-packages'*, '/usr/lib/python3/dist-packages']
> {quote}
>  
> For example, proton correctly puts its python files in
> /usr/local/lib/python3.6/dist-packages/
> on ubuntu, while dispatch drops its packages into
> /usr/local/lib/python3.6/site-packages/
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org