Skip to content
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

Skip python dependencies? #1047

Open
VarLad opened this issue Oct 13, 2020 · 2 comments
Open

Skip python dependencies? #1047

VarLad opened this issue Oct 13, 2020 · 2 comments
Labels

Comments

@VarLad
Copy link

VarLad commented Oct 13, 2020

Any way I can skip python dependencies while downloading the ros2 source?
I only want to use cpp, any option available for that?

@clalancette
Copy link
Contributor

I don't believe we have a way to skip python while downloading the source.

There is some talk about doing a "minimal" version of ROS 2 that doesn't need python; you can follow the discussion at ros-infrastructure/rep#231 .

@emersonknapp
Copy link
Contributor

Downloading the source and building python-based packages are different things, really. You could construct a .repos file that only contained dependencies up through rclcpp fairly easily. This one https://github.com/emersonknapp/ros2-toolchain-crosscompile/blob/master/minimal_cpp_ros2_master.repos is definitely out of date by now, but is probably a fairly close approximation to that dependency set.

I will note that the commandline utilities (ros2 topic, ros2 launch etc) are all python-based, so you will have limited ways to interact with a ros2 application without any Python present.

Another hiccup that hasn't been figured out yet in the ros-infrastructure/rep#231 discussion is that even for pure-C packages like rcl, many of the tests use launch, bringing in a Python dependency for running/building tests (this may not be as much of a concern in your case)

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

No branches or pull requests

3 participants