From 9bf2e20a687226e0bcab2d7e6b27fd00f8e9766c Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 8 Nov 2013 11:38:30 -0200 Subject: avoid access to network; clean pycs --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3