[pkg] Fix tox "make" environment
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 01 Mar 2017 15:48:41 +0100
changeset 2388 b8fc498d0227
parent 2387 53f6b75e2547
child 2389 08ff736126f1
[pkg] Fix tox "make" environment broken since we moved to the new package layout.
MANIFEST.in
cubicweb_seda/makefile
makefile
tox.ini
--- a/MANIFEST.in	Wed Mar 01 15:43:56 2017 +0100
+++ b/MANIFEST.in	Wed Mar 01 15:48:41 2017 +0100
@@ -6,7 +6,7 @@
 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cubicweb_seda/makefile	Wed Mar 01 15:48:41 2017 +0100
@@ -0,0 +1,8 @@
+
+all:
+	python xsd2yams.py > schema/seda2.py
+	python xsd2uicfg.py | grep -v 'unsupported merge' | grep -v 'extending cards' > views/uicfg.py
+	python xsd2entities.py | grep -v 'unsupported merge' | grep -v 'extending cards' > entities/generated.py
+
+lcsv:
+	python xsd2concepts.py migration/data
--- a/makefile	Wed Mar 01 15:43:56 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-
-all:
-	python xsd2yams.py > schema/seda2.py
-	python xsd2uicfg.py | grep -v 'unsupported merge' | grep -v 'extending cards' > views/uicfg.py
-	python xsd2entities.py | grep -v 'unsupported merge' | grep -v 'extending cards' > entities/generated.py
-
-lcsv:
-	python xsd2concepts.py migration/data
--- a/tox.ini	Wed Mar 01 15:43:56 2017 +0100
+++ b/tox.ini	Wed Mar 01 15:48:41 2017 +0100
@@ -52,7 +52,7 @@
   make
 setenv =
     PYTHONHASHSEED = 0
-commands = make {posargs}
+commands = make -C cubicweb_seda {posargs}
 
 
 [testenv:doc]