-
Notifications
You must be signed in to change notification settings - Fork 49
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
entry_points install path is now 'bin' instead of 'lib' for setup.py installs #518
Comments
a workaround that seems to work for me is this
this creates the necessary directory in |
Was recently bit by this on our CICD pipeline as |
Faced the same issue.
By
(so replacing dashes from variable's name by underscores) |
Yet another workaround is setting env variable:
Which will switch SETUPTOOLS to default system version included in installed python version. Unfortunately, this workaround won't work soon. |
Hi, I'm still running into this problem. My setup is as follows: I install colcon and dependencies into a Python 3.12 venv managed by uv, then run colcon build there. It looks like this:
The console_scripts from my_package end up in install/lib/my_package/bin instead of lib.
I get the warning about
but it does install the script into the correct location. @cottsay do you think it makes sense to also look for the Note: |
I believe a regression has been introduced with the merging of 5203c99 (or I'm holding something wrong).
With
colcon-core
at0.9.0
, thetest_py_package
fails to execute it'sentry_points
scripts.I created a workspace, added the content of https://github.com/colcon/colcon-bundle/tree/master/integration/ros2_workspace/src/test_py_package to the workspace and built.
When executing the
run_py_package_tests
script, I get:The install space for the workspace looks like this:
Previously, with
colcon-core
at0.8.3
, therun_py_package_tests
executable was located inlib
as a cousin to thepython3.8
directory.Downstream, this is causing other issues with things like launch files, with errors like "libexec directory '/path/to/workspace/
install/pkg_name/lib/pkg_name' does not exist"
The text was updated successfully, but these errors were encountered: