[pkg] Check and fix manifest
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 08 Feb 2017 14:32:09 +0100
changeset 2341 81d96067a14d
parent 2340 501af83fca28
child 2342 81774924c0d3
[pkg] Check and fix manifest
MANIFEST.in
tox.ini
--- a/MANIFEST.in	Wed Feb 08 14:29:12 2017 +0100
+++ b/MANIFEST.in	Wed Feb 08 14:32:09 2017 +0100
@@ -1,7 +1,12 @@
 include *.py
 include */*.py
+include tox.ini dev-requirements.txt
+include doc/*.rst
+include i18n/*.po
+include test/data/bootstrap_cubes test/data/*.xml test/data/*.xsd test/data/*.rng
 recursive-include data *.gif *.png *.ico *.css *.js
-recursive-include i18n *.po
-recursive-include wdoc *
 recursive-include xsd *.xsd
-recursive-include migration *.csv
+recursive-include migration *.py *.csv
+
+prune cubicweb-seda.spec
+prune debian
--- a/tox.ini	Wed Feb 08 14:29:12 2017 +0100
+++ b/tox.ini	Wed Feb 08 14:32:09 2017 +0100
@@ -1,8 +1,9 @@
 [tox]
-envlist = py27, flake8
+envlist = py27, flake8, check-manifest
 
 [tox:jenkins]
-envlist = py27, flake8-jenkins
+envlist = py27, flake8-jenkins, check-manifest
+
 
 [testenv]
 sitepackages = True
@@ -10,6 +11,14 @@
   -rdev-requirements.txt
 commands = {envpython} -m pytest {posargs:{toxinidir}/test}
 
+[testenv:check-manifest]
+skip_install = true
+deps =
+  check-manifest
+commands =
+  {envpython} -m check_manifest {toxinidir}
+
+
 [testenv:flake8]
 skip_install = true
 whitelist_externals =