Skip to content

python setup_helper ignores --install-base flag #257

@emulate-jonathanmanning

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions