Implement native Debian packaging (control files are part of the source
repo) with Makefile to simplify the release procedure.
This commit is contained in:
Dave Jones
2015-10-05 22:17:42 +01:00
parent 17c93d1e45
commit c8105c8dc3
12 changed files with 419 additions and 41 deletions

20
debian/rules vendored Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
export DH_OPTIONS
%:
dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_install:
python setup.py install --root debian/python-picraft --install-layout=deb
python3 setup.py install --root debian/python3-picraft --install-layout=deb
#override_dh_auto_test:
# # Don't run the tests!
#override_dh_installdocs:
# python setup.py build_sphinx -b html
# dh_installdocs