debian/rules
changeset 5354 ba9fe740688c
parent 4542 d2559cc88341
child 6506 c1661ea815dc
--- a/debian/rules	Tue Apr 20 16:30:01 2010 +0200
+++ b/debian/rules	Tue Apr 20 16:30:35 2010 +0200
@@ -14,7 +14,7 @@
 	# and I can't get pbuilder find them in its chroot :(
 	# cd doc && make
 	# FIXME cleanup and use sphinx-build as build-depends ?
-	python setup.py build
+	NO_SETUPTOOLS=1 python setup.py build
 	touch build-stamp
 
 clean:
@@ -34,7 +34,7 @@
 	dh_installdirs
 
 	#python setup.py install_lib --no-compile --install-dir=debian/cubicweb-common/usr/lib/python2.4/site-packages/
-	python setup.py -q install --no-compile --prefix=debian/tmp/usr
+	NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/tmp/usr
 
 	# Put all the python library and data in cubicweb-common
 	# and scripts in cubicweb-server