summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-11-08 11:38:30 -0200
committerKali Kaneko <kali@leap.se>2013-11-08 11:38:30 -0200
commit9bf2e20a687226e0bcab2d7e6b27fd00f8e9766c (patch)
treefebda70056fec61389d6ad5887783901c4610e38
parentbf271e67c53702005535cf4a092244266c45266e (diff)
avoid access to network; clean pycs
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 2d9c8f3..2620c92 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
# Uncomment this to turn on verbose mode.
#DH_VERBOSE=1
+# Prevent setuptools/distribute from accessing the internet.
+export http_proxy = http://127.0.0.1:9
+
%:
dh $@ --with python2 --buildsystem=python_distutils
@@ -21,3 +24,4 @@ override_dh_auto_clean:
rm -rf build
rm -rf docs/_build
rm -rf *.egg-info
+ find \( -name '._*' -o -name '*.pyc' \) -delete