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

prepend editable package path to python path #106

Open
asmodehn opened this issue Apr 3, 2017 · 5 comments
Open

prepend editable package path to python path #106

asmodehn opened this issue Apr 3, 2017 · 5 comments
Assignees

Comments

@asmodehn
Copy link
Member

asmodehn commented Apr 3, 2017

Looking at pyros-dev/pyros-setup#46 it seems we do need to have catkin_pip and pyros-setup totally independent, and not relying on anything from the other in any case.

So we would have to reactivate and fix that code : https://github.com/asmodehn/catkin_pip/blob/devel/cmake/env-hooks/42.site_packages.sh.develspace.in#L52

@asmodehn asmodehn added the bug label Apr 3, 2017
@asmodehn asmodehn self-assigned this Apr 4, 2017
@asmodehn
Copy link
Member Author

asmodehn commented Apr 4, 2017

currently in progress in https://github.com/asmodehn/catkin_pip/tree/gopher-devel

@asmodehn
Copy link
Member Author

asmodehn commented Apr 4, 2017

This works the first time (PYTHONPATH doesnt have any path of editable packages.
But the following times we hit : pypa/setuptools#1005

@asmodehn
Copy link
Member Author

asmodehn commented Apr 4, 2017

currently on hold in there : https://github.com/asmodehn/catkin_pip/tree/fix_editable

@asmodehn
Copy link
Member Author

Note : we need to rely on this features to workaround problems with namespace packages install. watch https://github.com/jonparrott/namespace-pkg-tests/blob/master/table.md (from pypa/pip#3)

@asmodehn
Copy link
Member Author

We also need this to be able to get source version of pip packages (linked with eggs) BEFORE we get the installed ROS/system version. Python by default will still put PYTHONPATH content before egg-links/editable packages path in sys.path.

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

No branches or pull requests

1 participant