summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-03-26 16:47:53 +0000
committerJohn Estabrook <jestabro@vyos.io>2021-03-26 16:47:53 +0000
commita6de79413b04b4043a4cf7c44a778f1f23fdf43f (patch)
tree766e856571d49de8c970e020ec533615aac8b6c4 /debian/rules
downloadvyos-http-api-tools-a6de79413b04b4043a4cf7c44a778f1f23fdf43f.tar.gz
vyos-http-api-tools-a6de79413b04b4043a4cf7c44a778f1f23fdf43f.zip
initial commit
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"
+