[PATCH 2 of 3 seda] [pkg] Fix tox "make" environment

Sylvain Thenault sylvain.thenault at logilab.fr
Wed Mar 1 15:51:29 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1488379721 -3600
#      Wed Mar 01 15:48:41 2017 +0100
# Node ID b8fc498d02277c17599cac49689310bac46e6bff
# Parent  53f6b75e25473ecd2c17a20b253317eb67395871
[pkg] Fix tox "make" environment

broken since we moved to the new package layout.

diff --git a/MANIFEST.in b/MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -4,10 +4,10 @@ recursive-include cubicweb_seda/xsd *.xs
 recursive-include doc *.rst *.py
 recursive-include test *.py
 include cubicweb_seda/migration/data/*.csv
 include cubicweb_seda/i18n/*.po cubicweb_seda/i18n/*.pot
 include test/data/bootstrap_cubes test/data/*.xml test/data/*.xsd test/data/*.rng
-include tox.ini dev-requirements.txt
+include tox.ini dev-requirements.txt cubicweb_seda/makefile
 
 prune __pkginfo__.py
 prune cubicweb-seda.spec
 prune debian
diff --git a/makefile b/cubicweb_seda/makefile
rename from makefile
rename to cubicweb_seda/makefile
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -50,11 +50,11 @@ exclude = doc/conf.py,cubicweb_seda/uipr
 [testenv:make]
 whitelist_externals =
   make
 setenv =
     PYTHONHASHSEED = 0
-commands = make {posargs}
+commands = make -C cubicweb_seda {posargs}
 
 
 [testenv:doc]
 changedir = doc
 whitelist_externals =


More information about the saem-devel mailing list