summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f88d083
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+export DH_VIRTUALENV_INSTALL_ROOT=/usr/share
+
+%:
+ dh $@ --with python-virtualenv
+
+override_dh_virtualenv:
+ dh_virtualenv \
+ --python /usr/bin/python3.7 \
+ --use-system-packages \
+ --builtin-venv \
+ --setuptools \
+ --upgrade-pip \
+ --extra-pip-arg "--ignore-installed" \
+ --extra-pip-arg "--no-cache-dir"
+