Skip to content

Consider ignoring setup.py if there is no package.xml at that level? #706

@sea-bass

Description

@sea-bass

I was running into an issue trying to build only the ROS part of a third-party package that looks something like this.

bindings/
cpp/
  include/
  src/
  CMakeLists.txt
  package.xml
python/
setup.py

So what happens is when I run colcon build, I want it to just build that cpp folder.

However, the setup.py is also picked up, and in this case is not desired. I also can't put a COLCON_IGNORE there because it would include the folder I do want to build.

Would it make sense to ignore that setup.py if there is no package.xml at that level? Or am I missing something (very likely)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions