mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Use Install.ps1 in build_windows.ps1 (#11058)
* Use Install.ps1 in build_windows.ps1 * -d * stop moving madmax and bladebit down into site-packages
This commit is contained in:
parent
9dc4e15905
commit
4070224da3
@ -26,12 +26,9 @@ else
|
||||
Write-Output " ---"
|
||||
Write-Output "Create venv - python3.9 is required in PATH"
|
||||
Write-Output " ---"
|
||||
python -m venv venv
|
||||
.\Install.ps1 -d
|
||||
. .\venv\Scripts\Activate.ps1
|
||||
python -m pip install --upgrade pip
|
||||
pip install wheel pep517
|
||||
pip install pywin32
|
||||
pip install pyinstaller==5.0
|
||||
|
||||
|
||||
Write-Output " ---"
|
||||
# The environment variable CHIA_INSTALLER_VERSION needs to be defined
|
||||
@ -43,20 +40,6 @@ if (-not (Test-Path env:CHIA_INSTALLER_VERSION)) {
|
||||
Write-Output "Chia Version is: $env:CHIA_INSTALLER_VERSION"
|
||||
Write-Output " ---"
|
||||
|
||||
Write-Output "Checking if madmax exists"
|
||||
Write-Output " ---"
|
||||
if (Test-Path -Path .\madmax\) {
|
||||
Write-Output " madmax exists, moving to expected directory"
|
||||
mv .\madmax\ .\venv\lib\site-packages\
|
||||
}
|
||||
|
||||
Write-Output "Checking if bladebit exists"
|
||||
Write-Output " ---"
|
||||
if (Test-Path -Path .\bladebit\) {
|
||||
Write-Output " bladebit exists, moving to expected directory"
|
||||
mv .\bladebit\ .\venv\lib\site-packages\
|
||||
}
|
||||
|
||||
Write-Output " ---"
|
||||
Write-Output "Build chia-blockchain wheels"
|
||||
Write-Output " ---"
|
||||
|
Loading…
Reference in New Issue
Block a user