blob: 850098e7b6d4c6c10431d75a04389c330cee1334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/make -f
export DH_VIRTUALENV_INSTALL_ROOT=/usr/share
%:
dh $@ --with python-virtualenv
override_dh_virtualenv:
# Temporary Debian 12 "Bookworm" fix
sed -i 's/getargspec/getfullargspec/' /usr/bin/dh_virtualenv
dh_virtualenv \
--python /usr/bin/python3 \
--use-system-packages \
--builtin-venv \
--upgrade-pip \
--extra-pip-arg "--ignore-installed" \
--extra-pip-arg "--no-cache-dir"
|