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 pip install issue. #45

Merged
merged 1 commit into from
Oct 25, 2018
Merged

Fix pip install issue. #45

merged 1 commit into from
Oct 25, 2018

Conversation

Gusgus01
Copy link
Contributor

Add MANIFEST.in and exclude tests in setup.py in order to
exclude tests from being added to site-packages, but still
included in the sdist. README and CHANGELOG is needed to
build from sdist.

@Gusgus01
Copy link
Contributor Author

This also includes the excludes='tests' so that the tests package doesn't get built in site-packages when installed, but it's presence in MANIFEST.in means it's still included in the sdist tar. This is unrelated to the pip install issue but I noticed it while installing. I can separate it out if you'd prefer.

Add MANIFEST.in  and exclude tests in setup.py in order to
exclude tests from being added to site-packages, but still
included in the sdist. README and CHANGELOG is needed to
build from sdist.

StoicLoofah#44
Copy link
Owner

@StoicLoofah StoicLoofah left a comment

Choose a reason for hiding this comment

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

great fix! Thanks for taking care of this. This was a total blind spot for me because I don't actually install the library from pip in any of my environments =P

good suggestion on the wheel as well. i'll include that with the next version

@StoicLoofah StoicLoofah merged commit 9b7b622 into StoicLoofah:master Oct 25, 2018
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.

2 participants