# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1272288203 -7200
#      Mon Apr 26 15:23:23 2010 +0200
# Branch stable
# Node ID 49e43eeec30209495bdb9da864aa9de3dbe87ac3
# Parent  a149c357550b57d507bfa12636ea3d7375b41d37
don't use setuptools to build debian package

diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -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*