-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
certifi==2017.11.5 | ||
chardet==3.0.4 | ||
dnspython==1.15.0 | ||
ecdsa==0.13 | ||
idna==2.6 | ||
jsonrpclib-pelix==0.3.1 | ||
pbkdf2==1.3 | ||
protobuf==3.5.0.post1 | ||
pyaes==1.6.1 | ||
PySocks==1.6.7 | ||
qrcode==5.3 | ||
requests==2.18.4 | ||
six==1.11.0 | ||
urllib3==1.22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
# Run this after a new release to update dependencies | ||
|
||
venv_dir=~/.electrum-venv | ||
contrib=$(dirname "$0") | ||
|
||
which virtualenv > /dev/null 2>&1 || { echo "Please install virtualenv" && exit 1; } | ||
|
||
rm $venv_dir -rf | ||
virtualenv $venv_dir | ||
|
||
source $venv_dir/bin/activate | ||
|
||
echo "Installing dependencies" | ||
|
||
pushd $contrib/.. | ||
python setup.py install | ||
popd | ||
|
||
pip freeze | sed '/^Electrum/ d' > $contrib/deterministic_requirements.txt | ||
|
||
echo "Updated requirements" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
#!/bin/bash | ||
|
||
contrib=$(dirname "$0") | ||
|
||
whereis pip3 | ||
if [ $? -ne 0 ] ; then echo "Install pip3" ; exit ; fi | ||
|
||
rm $contrib/packages/ -r | ||
|
||
#Install pure python modules in electrum directory | ||
pip3 install pyaes -t ./packages | ||
pip3 install ecdsa -t ./packages | ||
pip3 install pbkdf2 -t ./packages | ||
pip3 install requests -t ./packages | ||
pip3 install qrcode -t ./packages | ||
pip3 install protobuf -t ./packages | ||
pip3 install dnspython -t ./packages | ||
pip3 install jsonrpclib-pelix -t ./packages | ||
pip3 install PySocks -t ./packages | ||
pip3 install -r $contrib/deterministic_requirements.txt -t $contrib/packages | ||
|