don't use setuptools to build debian package stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 26 Apr 2010 15:23:23 +0200
branchstable
changeset 198 49e43eeec302
parent 197 a149c357550b
child 199 67460215a89e
don't use setuptools to build debian package
debian/rules
--- a/debian/rules	Fri Apr 23 16:56:02 2010 +0200
+++ b/debian/rules	Mon Apr 26 15:23:23 2010 +0200
@@ -7,7 +7,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
-	python setup.py -q build
+	NO_SETUPTOOLS=1 python setup.py -q build
 	touch build-stamp
 
 clean:
@@ -24,7 +24,7 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs -i
-	python setup.py -q install --no-compile --prefix=debian/cubicweb-blog/usr/
+	NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/cubicweb-blog/usr/
 	rm -rf debian/cubicweb-blog/usr/lib/python*