Forcing catkin_python_setup to install into devel space?
I have my ROS python package setup working as the ROS intended way. setup.py
is run to install my package into the install space and it inserts the __init__.py
into the python dist-packages in the devel space, which does the python voodoo to add the src directory to my pythonpath at runtime.
My linter (pylint) does really helpful static code analysis, but it doesn't actually run the python code so it doesn't understand the changing pythonpath and therefore thinks my moduals don't exist. I'm using this in a team environment, so I don't want to have everyone manually insert source dirs for each python package in our codebase into their permanent python path.
I'd like to configure ROS to install the actual python files into the devel space instead of the python path modifier. I realize this means I'll have to re-run catkin_make to update those python libs and that's OK How can I make this happen?
Asked by zacwitte on 2019-07-30 15:38:26 UTC
Comments
Any update?
Asked by achmad_fathoni on 2021-05-17 11:20:20 UTC