Browse Source

Pin secp256k1 src to tag.

anonswap anonswap_v0.1
tecnovert 2 years ago
parent
commit
baa97e7a21
No known key found for this signature in database GPG Key ID: 6C1A887B4701EAE3
  1. 2
      .travis/build_windows_wheels.sh
  2. 4
      setup.py

2
.travis/build_windows_wheels.sh

@ -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

4
setup.py

@ -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:

Loading…
Cancel
Save