summarylogtreecommitdiffstats
path: root/build.sh
blob: 20762a54be8c32e509777b8c88075712fe1cd08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

virtualenv --python /usr/bin/python2 .proxyenv
source .proxyenv/bin/activate

# Choose the right requirementes file based on interpret major/minor
# version. This split is required by asyncssh
PYTHON_VER=`python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))'`
python -m pip install -r requirements.txt
python -m pip install -e stratum

pyinstaller -F stratum-mining-proxy/mining_proxy.py --name stratum-mining-proxy