[PATCH 3 of 4 compound V2] [pkg] Add check-manifest target in tox.ini

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 3 15:23:37 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1488550713 -3600
#      Fri Mar 03 15:18:33 2017 +0100
# Node ID e69fc614c41f7ad94b91754affe2b7fe1e8b1e64
# Parent  07d3de8ce6261b170822ddd5fe6861da740f5e92
[pkg] Add check-manifest target in tox.ini

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
 [tox]
-envlist = py27,flake8
+envlist = py27, flake8, check-manifest
 
 [testenv]
 sitepackages = True
 deps = pytest
 commands = {envpython} -m pytest {posargs:{toxinidir}/test}
@@ -15,5 +15,12 @@ deps =
 commands = flake8 {toxinidir}
 
 [flake8]
 max-line-length = 100
 exclude = __pkginfo__.py,setup.py,.tox
+
+[testenv:check-manifest]
+skip_install = true
+deps =
+  check-manifest
+commands =
+  {envpython} -m check_manifest {toxinidir}


More information about the saem-devel mailing list