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 traits.examples into a package #1348

Merged
merged 9 commits into from
Nov 16, 2020
Merged

Make traits.examples into a package #1348

merged 9 commits into from
Nov 16, 2020

Conversation

aaronayres35
Copy link
Contributor

@aaronayres35 aaronayres35 commented Nov 13, 2020

fixes #1302

In this PR, an __init__.py file is added to traits.examples to make it a package, _entry_point.py is renamed _etsdemo_info.py and moved into the package with the setup.py entry point updated accordingly, and a very simple test is added for the introduction function in _etsdemo_info.py (I wasn't exactly sure what all we would want to test here). Also the pkg_resource import is moved inside the introduction function as mentioned on the issue.

I confirmed that I could launch the etsdemo application and still see the contributed examples.

Checklist

  • Tests
    - [ ] Update API reference (docs/source/traits_api_reference)
    - [ ] Update User manual (docs/source/traits_user_manual)
    - [ ] Update type annotation hints in traits-stubs

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

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

LGTM, modulo an unused import.

@mdickinson
Copy link
Member

I've changed the branch protections to not require Travis CI (but those changes aren't backed up in terraform).

Closing and re-opening to retrigger CI.

@mdickinson mdickinson closed this Nov 16, 2020
@mdickinson mdickinson reopened this Nov 16, 2020
@mdickinson
Copy link
Member

Slack discussion says that Travis CI should be working again. Closing and re-opening to test that statement.

@mdickinson mdickinson closed this Nov 16, 2020
@mdickinson mdickinson reopened this Nov 16, 2020
@mdickinson
Copy link
Member

@kitchoi Okay to merge this once CI signs off?

@mdickinson
Copy link
Member

Slack discussion says that Travis CI should be working again. Closing and re-opening to test that statement.

And the test failed. But that shouldn't prevent merging this PR.

Copy link
Contributor

@kitchoi kitchoi left a comment

Choose a reason for hiding this comment

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

LGTM too.

Looks like Travis CI + MacOS + OSS is having some build issues recently.

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

Successfully merging this pull request may close these issues.

Make traits.examples into a package
3 participants