mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 09:40:36 +00:00
Implement native Debian packaging (control files are part of the source repo) with Makefile to simplify the release procedure.
21 lines
456 B
Makefile
Executable File
21 lines
456 B
Makefile
Executable File
#!/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
|
|
|