diff --git a/control b/control index 68f794f..96664ed 100644 --- a/control +++ b/control @@ -2,16 +2,10 @@ Source: django-tenant-schemas Maintainer: Jérôme Schneider Section: python Priority: optional -Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-all (>= 2.6.6-3), python3-all, debhelper (>= 7) +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7) Standards-Version: 3.9.1 Package: python-django-tenant-schemas Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Tenant support for Django using PostgreSQL schemas. - -Package: python3-django-tenant-schemas -Architecture: all -Depends: ${misc:Depends}, ${python3:Depends} -Description: Tenant support for Django using PostgreSQL schemas. - diff --git a/rules b/rules index dab3fe0..b2e2109 100755 --- a/rules +++ b/rules @@ -4,18 +4,4 @@ # Tue, 14 Oct 2014 11:39:16 +0200 %: - dh $@ --with python2,python3 --buildsystem=python_distutils - -override_dh_auto_clean: - python setup.py clean -a - python3 setup.py clean -a - find . -name \*.pyc -exec rm {} \; - -override_dh_auto_build: - python setup.py build --force - python3 setup.py build --force - -override_dh_auto_install: - python setup.py install --force --root=debian/python-django-tenant-schemas --no-compile -O0 --install-layout=deb - python3 setup.py install --force --root=debian/python3-django-tenant-schemas --no-compile -O0 --install-layout=deb - + dh $@ --with python2