tecnovert
2 years ago
No known key found for this signature in database
GPG Key ID: 6C1A887B4701EAE3
2 changed files with
3 additions and
3 deletions
-
.travis/build_windows_wheels.sh
-
setup.py
|
|
@ -12,7 +12,7 @@ build_dll() { |
|
|
|
cd .. |
|
|
|
#git clone https://github.com/bitcoin-core/secp256k1.git |
|
|
|
#mv secp256k1 64bit |
|
|
|
wget -O secp256k1_anonswap.zip https://github.com/tecnovert/secp256k1/archive/anonswap.zip |
|
|
|
wget -O secp256k1_anonswap.zip https://github.com/tecnovert/secp256k1/archive/refs/tags/anonswap_v0.1.zip |
|
|
|
unzip secp256k1_anonswap.zip |
|
|
|
mv secp256k1-anonswap 64bit |
|
|
|
|
|
|
|
|
|
@ -53,7 +53,7 @@ def download_library(command): |
|
|
|
if command.dry_run: |
|
|
|
return |
|
|
|
libdir = absolute('libsecp256k1') |
|
|
|
zipdir = absolute('secp256k1-anonswap') |
|
|
|
zipdir = absolute('secp256k1-anonswap_v0.1') |
|
|
|
if os.path.exists(os.path.join(libdir, 'autogen.sh')): |
|
|
|
# Library already downloaded |
|
|
|
return |
|
|
@ -61,7 +61,7 @@ def download_library(command): |
|
|
|
command.announce('downloading libsecp256k1 source code', level=log.INFO) |
|
|
|
try: |
|
|
|
import requests |
|
|
|
zip_url = 'https://github.com/tecnovert/secp256k1/archive/anonswap.zip' |
|
|
|
zip_url = 'https://github.com/tecnovert/secp256k1/archive/refs/tags/anonswap_v0.1.zip' |
|
|
|
r = requests.get(zip_url, stream=True) |
|
|
|
status_code = r.status_code |
|
|
|
if status_code == 200: |
|
|
|