Skip to content

python setup_helper ignores --install-base flag #257

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

Open
emulate-jonathanmanning opened this issue Apr 18, 2025 · 0 comments
Open

python setup_helper ignores --install-base flag #257

emulate-jonathanmanning opened this issue Apr 18, 2025 · 0 comments

Comments

@emulate-jonathanmanning

While setup_helper.generate_parameter_module parses args and respects --build-base, it assumes the default 'install' path and ignores the --install-base argument.

For example:

colcon build --merge-install --install-base=/opt/alt-install-path-v0

Results in the ROS python package being installed to:

/opt/alt-install-path-v0/lib/python3.10/site-packages/foo/...

But the generated code gets left behind all by itself in the workspace

$ tree install/
install/
└── foo
    └── lib
        └── python3.10
            └── site-packages
                └── foo
                    ├── foo_parameters.py

I believe this is different but related to the churn and discussion of similar issues in #207 #236 #237

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

No branches or pull requests

1 participant