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

Fix examples #87

Closed
wants to merge 4 commits into from
Closed

Fix examples #87

wants to merge 4 commits into from

Conversation

BastianZim
Copy link
Contributor

@BastianZim BastianZim commented Dec 2, 2021

Currently, examples is installed as a separate package as it doesn't live under the src dir. This PR should exclude it.

Note: This is guesswork though because I'm not sure why it's even included in the first place.

Closes #88

@gecrooks
Copy link
Owner

gecrooks commented Dec 6, 2021

Try adding the examples/init.py file back in. That tells python that the directory is a module and I think its needed for pytest to run the examples unit test.

@gecrooks
Copy link
Owner

gecrooks commented Dec 6, 2021

Well that didn't work. Let me have a poke at this...

@BastianZim
Copy link
Contributor Author

It's a strange thing, to be honest. Theoretically, it should just be removable and the only change should be that it doesn't get installed in the end. But because of bugs like pypa/setuptools#2688 I'm not sure what the best approach is.

@gecrooks
Copy link
Owner

gecrooks commented Dec 7, 2021

I believe I've fixed this problem in master.

@gecrooks gecrooks closed this Dec 7, 2021
@BastianZim BastianZim deleted the fix-examples branch December 7, 2021 08:00
@BastianZim
Copy link
Contributor Author

Thank you! Would you mind creating a new release for this?

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.

Examples directory is installed as a separate package
2 participants