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

Darryl L. Pierce commented on QPID-5365:
----------------------------------------

We really can't nest the tools library within the package name for the router's 
private libraries. With QPID-5335, the two sets of Python code will be 
installed to two different locations.

 * qpid_dispatch under /usr/lib/qpid-dispatch/
 * the tools package to /usr/lib/python2.7/site-packages

Python won't work with the same top level package in two different locations; 
i.e., if it tries to import qpid_dispatch/tools/foo but it has the private 
library in its path first, it will fail.

> Clean up file locations in Dispatch
> -----------------------------------
>
>                 Key: QPID-5365
>                 URL: https://issues.apache.org/jira/browse/QPID-5365
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Qpid Dispatch
>            Reporter: Justin Ross
>            Assignee: Justin Ross
>         Attachments: relocations.patch
>
>
> The attached patch makes the file locations consistent wrt the conventions 
> outlined in QPID-5351 and otherwise removes redundancies, simplifies, and 
> prepares for future additions.
> With this change, the tests and installs without error in my environment.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to