Skip to content

Commit 9bf2e20

Browse files
committed
avoid access to network; clean pycs
1 parent bf271e6 commit 9bf2e20

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# Uncomment this to turn on verbose mode.
33
#DH_VERBOSE=1
44

5+
# Prevent setuptools/distribute from accessing the internet.
6+
export http_proxy = http://127.0.0.1:9
7+
58
%:
69
dh $@ --with python2 --buildsystem=python_distutils
710

@@ -21,3 +24,4 @@ override_dh_auto_clean:
2124
rm -rf build
2225
rm -rf docs/_build
2326
rm -rf *.egg-info
27+
find \( -name '._*' -o -name '*.pyc' \) -delete

0 commit comments

Comments
 (0)