fix outdated daemon dependencies
This commit is contained in:
parent
8ac55020bf
commit
4c27cbb9b7
2 changed files with 13 additions and 0 deletions
|
@ -64,6 +64,13 @@ npm install
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "$ROOT/daemon"
|
cd "$ROOT/daemon"
|
||||||
|
|
||||||
|
# copy requirements from lbry, but remove lbryum (we'll add it back in below)
|
||||||
|
grep -v lbryum "$ROOT/lbry/requirements.txt" > requirements.txt
|
||||||
|
# for electron, we install lbryum and lbry using submodules
|
||||||
|
echo "../lbryum" >> requirements.txt
|
||||||
|
echo "../lbry" >> requirements.txt
|
||||||
|
|
||||||
pip install -r linux_macos.txt
|
pip install -r linux_macos.txt
|
||||||
pyinstaller -y daemon.onefile.spec
|
pyinstaller -y daemon.onefile.spec
|
||||||
pyinstaller -y cli.onefile.spec
|
pyinstaller -y cli.onefile.spec
|
||||||
|
|
|
@ -16,6 +16,12 @@ python.exe setupmingw32.py install
|
||||||
cd ..\..\
|
cd ..\..\
|
||||||
Remove-Item -Recurse -Force temp
|
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
|
||||||
|
# for electron, we install lbryum and lbry using submodules
|
||||||
|
Add-Content requirements.txt "`n../lbryum"
|
||||||
|
Add-Content requirements.txt "`n../lbry"
|
||||||
|
|
||||||
pip.exe install pyinstaller
|
pip.exe install pyinstaller
|
||||||
pip.exe install -r windows.txt
|
pip.exe install -r windows.txt
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue