[debian] don't use setuptools to build debian package
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 20 Apr 2010 16:30:35 +0200
changeset 5354 ba9fe740688c
parent 5353 cb8ac7263f8a
child 5355 3c703f3245dc
[debian] don't use setuptools to build debian package
debian/rules
--- 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