You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
753 B
25 lines
753 B
10 years ago
|
#!/bin/bash
|
||
|
#
|
||
|
# This script creates a virtualenv named 'env' and installs all
|
||
|
# python dependencies before activating the env and running Electrum.
|
||
|
# If 'env' already exists, it is activated and Electrum is started
|
||
|
# without any installations. Additionally, the PYTHONPATH environment
|
||
|
# variable is set properly before running Electrum.
|
||
|
#
|
||
|
# python-qt and its dependencies will still need to be installed with
|
||
|
# your package manager.
|
||
|
|
||
|
if [ -e ./env/bin/activate ]; then
|
||
|
source ./env/bin/activate
|
||
|
else
|
||
|
virtualenv env
|
||
|
source ./env/bin/activate
|
||
|
pip install slowaes 'ecdsa>=0.9' pbkdf2 requests pyasn1 pyasn1-modules qrcode SocksiPy-branch protobuf tlslite
|
||
|
fi
|
||
|
|
||
|
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
|
||
|
|
||
|
./electrum
|
||
|
|
||
|
deactivate
|