Skip to content

Commit

Permalink
Merge pull request #163 from freedomofpress/securedrop-log-pip-options
Browse files Browse the repository at this point in the history
securedrop-log build: add `--ignore-installed` and `--no-deps`
  • Loading branch information
kushaldas authored Apr 13, 2020
2 parents 7ebe8f2 + 670786a commit a755a3e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion securedrop-log/debian/rules
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
#!/usr/bin/make -f

%:
dh $@ --with python-virtualenv --python /usr/bin/python3 --setuptools --extra-pip-arg "--no-deps" --index-url https://pypi.securedrop.org/simple --requirements build-requirements.txt
dh $@ --with python-virtualenv

override_dh_virtualenv:
dh_virtualenv \
--python /usr/bin/python3 \
--setuptools \
--index-url https://pypi.securedrop.org/simple \
--extra-pip-arg "--ignore-installed" \
--extra-pip-arg "--no-deps" \
--extra-pip-arg "--no-cache-dir" \
--requirements build-requirements.txt

override_dh_strip_nondeterminism:
find ./debian/ -type f -name '*.pyc' -delete
Expand Down

0 comments on commit a755a3e

Please sign in to comment.