fixes for windows

This commit is contained in:
Alex Grintsvayg 2017-04-06 18:38:18 -04:00
parent 33dbd94402
commit 487cccdc99
5 changed files with 7 additions and 36 deletions

View file

@ -5,7 +5,7 @@ gcc --version
mingw32-make --version
mkdir temp
Invoke-WebRequest "https://pypi.python.org/packages/55/90/e987e28ed29b571f315afea7d317b6bf4a551e37386b344190cffec60e72/miniupnpc-1.9.tar.gz" -OutFile "temp\miniupnpc-1.9.tar.gz"
mv miniupnpc-1.9.tar.gz temp\miniupnpc-1.9.tar.gz
cd temp
tar zxf miniupnpc-1.9.tar.gz
cd miniupnpc-1.9
@ -16,11 +16,13 @@ python.exe setupmingw32.py install
cd ..\..\
Remove-Item -Recurse -Force temp
# copy requirements from lbry, but remove lbryum (we'll add it back in below)
Get-Content ..\lbry\requirements.txt | Where-Object {$_ -notmatch 'lbryum'} | Set-Content requirements.txt
# copy requirements from lbry, but remove lbryum (we'll add it back in below) and gmpy and miniupnpc (installed manually)
$Skip = @("*lbryum*","*gmpy*","*miniupnpc*")
Get-Content ..\lbry\requirements.txt | Where-Object {$_ -notlike $Skip} | Set-Content requirements.txt
# for electron, we install lbryum and lbry using submodules
Add-Content requirements.txt "`n../lbryum"
Add-Content requirements.txt "`n../lbry"
Get-Content requirements.txt
pip.exe install pyinstaller
pip.exe install -r windows.txt

View file

@ -1,4 +1,2 @@
-r requirements.txt
miniupnpc==1.9
gmpy==1.17
PyInstaller==3.2.1

BIN
daemon/miniupnpc-1.9.tar.gz Normal file

Binary file not shown.

View file

@ -1,29 +0,0 @@
Twisted==16.6.0
appdirs==1.4.0
argparse==1.2.1
base58==0.2.2
colorama==0.3.7
dnspython==1.12.0
ecdsa==0.13
envparse==0.2.0
googlefinance==0.7
jsonrpc==1.2
jsonrpclib==0.1.7
jsonschema==2.5.1
# for electron, we install lbryum, lbry using submodules
../lbryum
../lbry
pbkdf2==1.3
protobuf==3.0.0
pycrypto==2.6.1
pyyaml==3.12
qrcode==5.2.2
requests==2.9.1
requests_futures==0.9.7
seccure==0.3.1.3
service_identity==16.0.0
six>=1.9.0
slowaes==0.1a1
txJSON-RPC==0.5
wsgiref==0.1.2
zope.interface==4.3.3

View file

@ -1,3 +1,3 @@
-r requirements.txt
# on windows miniupnpc needs to be installed manually
https://github.com/lbryio/lbry/raw/master/packaging/windows/libs/gmpy-1.17-cp27-none-win32.whl
# miniupnpc is installed manually
./gmpy-1.17-cp27-none-win32.whl