Skip to content

Make examples install entry point scripts into a package - #226

Merged
sloretz merged 6 commits into
masterfrom
examples_dont_polute_modules
Feb 4, 2019
Merged

sloretz merged 6 commits into
masterfrom
examples_dont_polute_modules

Conversation

@sloretz

@sloretz sloretz commented Feb 2, 2019

Copy link
Copy Markdown
Contributor

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.

@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
sloretz requested a review from jacobperron February 2, 2019 01:42
@sloretz

sloretz commented Feb 2, 2019

Copy link
Copy Markdown
Contributor Author

CI

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

@jacobperron jacobperron left a comment

Copy link
Copy Markdown
Member

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