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

Make examples install entry point scripts into a package #226

Merged
merged 6 commits into from
Feb 4, 2019

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Feb 2, 2019

This makes the examples install their scripts into a package with their name. Currently they install their modules on their own, which is a problem since some of the modules have generic names.

See #222 (comment) for a bug this caused. import client would import the minimal client example. With this PR that import becomes import examples_rclpy_minimal_client.client.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz added bug Something isn't working in review Waiting for review (Kanban column) labels Feb 2, 2019
@sloretz sloretz self-assigned this Feb 2, 2019
@sloretz
Copy link
Contributor Author

sloretz commented Feb 2, 2019

CI

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I've done a similar thing in #222, but I should update the package name for consistency.

@sloretz sloretz merged commit f51ade1 into master Feb 4, 2019
@sloretz sloretz deleted the examples_dont_polute_modules branch February 4, 2019 17:10
@sloretz sloretz removed the in review Waiting for review (Kanban column) label Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants