-
Notifications
You must be signed in to change notification settings - Fork 347
MANIFEST.in: include tests for downstream distros #653
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
Conversation
f1c4b35
to
6ea1111
Compare
@blueyed the MANIFEST.ini is used strictly by the sdist to control what goes in the tarball or zip archive. The #665 inclusion of the LICENSE file in the setup.cfg is strictly for wheels AFAIK for now. So that's not great but you need both for now. And unless you plan to never release sdist anymore (which I think would be mistake) you still need both. |
I've assumed that it has (good) defaults, if the file is absent. |
@blueyed it usually misses a few files. |
6ea1111
to
70174d8
Compare
diff --git i/setup.py w/setup.py
index 1e551c0..b34b5ee 100755
--- i/setup.py
+++ w/setup.py
@@ -4,7 +4,8 @@
import codecs
import os
-from setuptools import setup
+# from setuptools import setup
+from distutils.core import setup
# Utility function to read the README file. The difference between master and this PR is then that master has I've amended this PR to readd the file and include tests explicitly. Thanks for your help! |
@pombredanne I've tried to create a tox testenv to use the tests from the sdist, but while it is created as expected (with |
Codecov Report
@@ Coverage Diff @@
## master #653 +/- ##
==========================================
+ Coverage 94.38% 94.44% +0.06%
==========================================
Files 33 33
Lines 1834 1854 +20
Branches 156 161 +5
==========================================
+ Hits 1731 1751 +20
Misses 78 78
Partials 25 25
Continue to review full report at Codecov.
|
Acked-by: Philippe Ombredanne [email protected] |
Thanks! |
Ref: #290
[ci skip]