-
Notifications
You must be signed in to change notification settings - Fork 279
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
supporting __file__ correctly in setup.py #770
Comments
I have created #771 to address your use case. Can you please try it with the patched version of catkin and confirm that it solves your use case. |
Thanks !
So this fix is good to go in, I think. But then |
Good, so the patch seems to work as expected then. I don't know what you mean with "make does nothing" though. I would expect it to generate the redirects for the Python modules in the devel space or install the Python modules. Since |
Sorry, I just mean About |
Since this ticket was about supporting |
We should probably define
__file__
around there https://github.com/ros/catkin/blob/indigo-devel/cmake/interrogate_setup_dot_py.py#L244So that setup.py is used the same way as it would from python cli.
At the moment
interrogate_setup_dot_py
breaks on simple setup.py :which can prevent doing third party release of simple python packages.
https://github.com/asmodehn/python-tblib-rosrelease/blob/release/indigo/python_tblib/setup.py
IDLE used to have a similar bug, we might want to get some inspiration from their fix :
http://bugs.python.org/issue8515
The text was updated successfully, but these errors were encountered: