Add check-manifest
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Mon, 02 Dec 2019 13:51:46 +0100
changeset 582 316a24ffcbb7
parent 581 29125bda3eaa
child 583 1fe1205298e9
Add check-manifest Explicitly drop packaging from sdist Add tests to sdist
MANIFEST.in
tox.ini
--- a/MANIFEST.in	Tue Dec 03 14:51:27 2019 +0100
+++ b/MANIFEST.in	Mon Dec 02 13:51:46 2019 +0100
@@ -3,3 +3,12 @@
 include *.rst
 recursive-include nazca *.py
 recursive-include nazca/data *.txt
+include tox.ini
+recursive-include examples *.csv
+recursive-include doc *.svg
+recursive-include test *.py
+recursive-include test/data *
+prune .gitlab-ci.yml
+prune *.spec
+prune debian
+prune notebooks
--- a/tox.ini	Tue Dec 03 14:51:27 2019 +0100
+++ b/tox.ini	Mon Dec 02 13:51:46 2019 +0100
@@ -1,5 +1,5 @@
 [tox]
-envlist = py2,py3,flake8
+envlist = py3,flake8,check-manifest
 
 [testenv]
 deps =
@@ -26,3 +26,11 @@
 python_files = *test_*.py
 testpaths = test
 addopts = -r fEs
+
+[testenv:check-manifest]
+skip_install = true
+skipsdist = true
+deps =
+  check-manifest
+commands =
+  {envpython} -m check_manifest