[PATCH skos] [pkg] Add a check-manifest tox env and fix packaging accordingly

Sylvain Thenault sylvain.thenault at logilab.fr
Wed May 10 16:13:02 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1494425549 -7200
#      Wed May 10 16:12:29 2017 +0200
# Node ID 06aa0a4ce6366fb3bec440f14a603b3284fc4e9a
# Parent  9a8977e5cffdea5104d65193bd150bc50ca52a85
[pkg] Add a check-manifest tox env and fix packaging accordingly

diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,10 @@
+include tox.ini test-requirements.txt
 include *.py
 include */*.py
+include test/data/*
 recursive-include data *.gif *.png *.ico *.css *.js
 recursive-include i18n *.po *.pot
 recursive-include wdoc *
+
+prune cubicweb-skos.spec
+prune debian
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,16 +1,23 @@
 [tox]
-envlist = py26,py27,flake8
+envlist = py26,py27,flake8,check-manifest
 
 [testenv]
 sitepackages = True
 deps =
   -rtest-requirements.txt
   pytest
 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 =
   flake8
 deps =


More information about the saem-devel mailing list