-
Notifications
You must be signed in to change notification settings - Fork 85
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
Conversation
…, and update setup.py accordingly
There was a problem hiding this 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.
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. |
Slack discussion says that Travis CI should be working again. Closing and re-opening to test that statement. |
@kitchoi Okay to merge this once CI signs off? |
And the test failed. But that shouldn't prevent merging this PR. |
There was a problem hiding this 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.
fixes #1302
In this PR, an
__init__.py
file is added totraits.examples
to make it a package,_entry_point.py
is renamed_etsdemo_info.py
and moved into the package with thesetup.py
entry point updated accordingly, and a very simple test is added for theintroduction
function in_etsdemo_info.py
(I wasn't exactly sure what all we would want to test here). Also thepkg_resource
import is moved inside theintroduction
function as mentioned on the issue.I confirmed that I could launch the etsdemo application and still see the contributed examples.
Checklist
- [ ] Update API reference (docs/source/traits_api_reference
)- [ ] Update User manual (docs/source/traits_user_manual
)- [ ] Update type annotation hints intraits-stubs