-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for mainnet and general cleanup (#4)
Co-authored-by: Michael Flaxman <[email protected]>
- Loading branch information
Showing
8 changed files
with
194 additions
and
50 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,36 @@ | ||
#! /usr/bin/env bash | ||
|
||
# Verbose printing | ||
set -o xtrace | ||
|
||
deactivate | ||
|
||
# Abandon if anything errors | ||
set -e; | ||
|
||
# Remove old files | ||
rm -rf .venv3/ | ||
rm -rf dist/ | ||
rm -rf build/ | ||
rm -rf multiwallet.egg-info/ | ||
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf | ||
|
||
# Virtualenv | ||
python3 --version | ||
# Install virtualenv (if not installed) | ||
# python3 -m pip uninstall virtualenv -y | ||
python3 -m pip install virtualenv | ||
# Create virtualenv and install our software inside it | ||
python3 -m virtualenv .venv3 | ||
source .venv3/bin/activate | ||
# python3 -m pip uninstall pyinstaller -y | ||
python3 -m pip install -r requirements.txt | ||
python3 -m pip install --editable . | ||
python3 -m pip freeze | ||
|
||
# Hackey timer | ||
# https://askubuntu.com/questions/1028924/how-do-i-use-seconds-inside-a-bash-script | ||
hrs=$(( SECONDS/3600 )) | ||
mins=$(( (SECONDS-hrs*3600)/60)) | ||
secs=$(( SECONDS-hrs*3600-mins*60 )) | ||
printf 'Time spent: %02d:%02d:%02d\n' $hrs $mins $secs |
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
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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
setup( | ||
name="multiwallet", | ||
version="0.3.5", | ||
version="0.3.6", | ||
author="Michael Flaxman", | ||
author_email="[email protected]", | ||
description="Stateless multisig bitcoin wallet", | ||
|