ros / dynamic_reconfigure

BSD 3-Clause "New" or "Revised" License
47 stars 112 forks source link

Explicitly setting the destination path in pycache #200

Closed ghost closed 5 months ago

ghost commented 1 year ago

When doing compileall, we explicitly set the path to the install path. Otherwise, the path of the host gets injected into for example the debian that gets created an is wrong. Currently, for example the path in the official ubuntu package is:

/tmp/binarydeb/ros-noetic-nodelet-topic-tools-1.10.2/obj-x86_64-linux-gnu/devel/lib/python3/dist-packages/nodelet_topic_tools/cfg/NodeletThrottleConfig.py

but should be

/opt/ros/noetic/lib/python3/dist-packages/nodelet_topic_tools/cfg/NodeletThrottleConfig.py

Closes: #199