diff --git a/debian/rules b/debian/rules index bac3ce7..ccf6038 100755 --- a/debian/rules +++ b/debian/rules @@ -1,22 +1,24 @@ #!/usr/bin/make -f export DH_VERBOSE = 1 export SETUPTOOLS_DEB_LAYOUT = 1 export DH_VIRTUALENV_INSTALL_ROOT = /usr/lib/python3/dist-packages export DH_VIRTUALENV_ARGUMENTS := --python python3 export DH_REQUIREMENTS_FILE := debian-requirements.txt %: dh $@ --buildsystem dh_virtualenv +override_dh_python3: + dh_python3 --shebang=/usr/lib/python3/dist-packages/sylk-pushserver/bin/python3 + override_dh_clean: dh_clean rm -rf build dist MANIFEST override_dh_install: dh_install py3clean . - override_dh_installsystemd: dh_installsystemd -psylk-pushserver --name=sylk-pushserver --no-start diff --git a/makedeb.sh b/makedeb.sh index 3780e21..1ad6aa3 100755 --- a/makedeb.sh +++ b/makedeb.sh @@ -1,19 +1,18 @@ #!/bin/bash if [ -f dist ]; then rm -r dist fi python3 setup.py sdist sleep 2 cd dist tar zxvf *.tar.gz cd sylk_pushserver-?.?.? ls sleep 3 debuild --no-sign -cd dist ls