Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of multiple namespaced python packages in devel space #1153

Open
wants to merge 2 commits into
base: noetic-devel
Choose a base branch
from

Conversation

rhaschke
Copy link
Contributor

@rhaschke rhaschke commented Oct 16, 2021

If there are multiple python packages to be installed below a common namespace, only the last one installed is found in devel space, because the path extension is always overwritten.
This PR augments the existing __extended_path instead of overriding it.
We need this feature for MoveIt, which has multiple python packages to be installed in the common namespace moveit.

If there are multiple packages to be installed below a common namespace, only the last one installed is found in devel space,
because the path extension is always overwritten.
This PR augments the existing __extended_path.
@rhaschke
Copy link
Contributor Author

Hm. Unfortunately, this works only with catkin tools and merged devel space as well as with catkin_make. 😦
catkin tools with a linked devel space fails because linking multiple __init__.py files to the same final devel location fails.
catkin_make_isolated fails because the init files are installed in different locations and only the first one on PYTHONPATH will define its src extension path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant