[debian] byte-compile for python3 draft
authorJérôme Roy <jerome.roy@logilab.fr>
Tue, 22 Dec 2015 18:47:25 +0100
changeset 358 15fac35f3969
parent 353 444a381ff2f4
[debian] byte-compile for python3
debian/control
debian/rules
--- a/debian/control	Tue Dec 22 12:19:54 2015 +0100
+++ b/debian/control	Tue Dec 22 18:47:25 2015 +0100
@@ -7,6 +7,7 @@
  debhelper (>= 8),
  python (>= 2.6.5),
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
 Standards-Version: 3.9.3
 Homepage: http://www.cubicweb.org/project/cubicweb-blog
 
--- a/debian/rules	Tue Dec 22 12:19:54 2015 +0100
+++ b/debian/rules	Tue Dec 22 18:47:25 2015 +0100
@@ -1,9 +1,7 @@
 #!/usr/bin/make -f
 
-export NO_SETUPTOOLS=1
-
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
 override_dh_auto_install:
 	dh_auto_install
@@ -12,3 +10,6 @@
 
 override_dh_python2:
 	dh_python2 -i /usr/share/cubicweb
+
+override_dh_python3:
+	dh_python3 -i /usr/share/cubicweb