debian: build as a normal python package

This commit is contained in:
Frédéric Péters 2019-02-22 14:17:19 +01:00
parent 995ad1d7b1
commit 740714b28b
3 changed files with 5 additions and 11 deletions

7
debian/control vendored
View File

@ -3,14 +3,15 @@ Section: python
Priority: optional
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Build-Depends: debhelper (>= 9),
python,
dh-virtualenv (>= 0.8)
python-setuptools,
python-all,
python-django
Standards-Version: 3.9.6
Homepage: https://dev.entrouvert.org/projects/zoo
Package: publik-zoo
Architecture: all
Depends: ${misc:Depends}, adduser,
Depends: ${misc:Depends}, ${python:Depends}, adduser,
python-django (>= 1.10),
python-hobo,
python-django-tenant-schemas,

View File

@ -1,8 +1 @@
interest-noawait hobo-redeploy
# Register interest in Python interpreter changes (Python 2 for now); and
# don't make the Python package dependent on the virtualenv package
# processing (noawait)
interest-noawait /usr/bin/python2.7
# Also provide a symbolic trigger for all dh-virtualenv packages
interest dh-virtualenv-interpreter-update

2
debian/rules vendored
View File

@ -5,4 +5,4 @@
#export DH_VERBOSE=1
%:
dh $@ --with python-virtualenv
dh $@ --with python2