Browse Source

Merge pull request #3959 from dtcooper/master

Add Support for Python 3.6+ in ./electrum-env
3.1
ThomasV 7 years ago
committed by GitHub
parent
commit
c1d2aabd54
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      electrum-env

4
electrum-env

@ -9,6 +9,8 @@
# python-qt and its dependencies will still need to be installed with
# your package manager.
PYTHON_VER="$(python3 -c 'import sys; print(sys.version[:3])')"
if [ -e ./env/bin/activate ]; then
source ./env/bin/activate
else
@ -17,7 +19,7 @@ else
python3 setup.py install
fi
export PYTHONPATH="/usr/local/lib/python3.5/site-packages:$PYTHONPATH"
export PYTHONPATH="/usr/local/lib/python${PYTHON_VER}/site-packages:$PYTHONPATH"
./electrum "$@"

Loading…
Cancel
Save