[tor-commits] [ooni-probe/master] Set PYTHONPATH path from calling python

art at torproject.org art at torproject.org
Fri Nov 20 14:41:58 UTC 2015


commit ed26fa9674ed2898afa35110f515c9fb8e0f6381
Author: Arturo Filastò <art at fuffa.org>
Date:   Mon Jul 13 14:24:36 2015 +0200

    Set PYTHONPATH path from calling python
---
 scripts/install.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/install.sh b/scripts/install.sh
index 8ef1c12..89be923 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -11,6 +11,7 @@ set -e
 TOR_DEB_REPO="http://deb.torproject.org/torproject.org"
 CLOUDFRONT="no"
 INSTALL_PT="yes"
+PYTHONPATH=$(python -c "import sys; print ':'.join(x for x in sys.path if x)")
 
 # These are the minimum ubuntu and debian version required to use the debian
 # package.





More information about the tor-commits mailing list