##// END OF EJS Templates
automation: set PATH when building on Windows...
Gregory Szorc -
r50331:e4e33b77 stable
parent child Browse files
Show More
@@ -45,6 +45,7 b' Write-Output "updated Mercurial working '
45 '''.lstrip()
45 '''.lstrip()
46
46
47 BUILD_INNO_PYTHON3 = r'''
47 BUILD_INNO_PYTHON3 = r'''
48 $Env:PATH = "C:\hgdev\venv-bootstrap\Scripts;$Env:PATH"
48 $Env:RUSTUP_HOME = "C:\hgdev\rustup"
49 $Env:RUSTUP_HOME = "C:\hgdev\rustup"
49 $Env:CARGO_HOME = "C:\hgdev\cargo"
50 $Env:CARGO_HOME = "C:\hgdev\cargo"
50 Set-Location C:\hgdev\src
51 Set-Location C:\hgdev\src
@@ -56,6 +57,7 b' if ($LASTEXITCODE -ne 0) {{'
56
57
57
58
58 BUILD_WHEEL = r'''
59 BUILD_WHEEL = r'''
60 $Env:PATH = "C:\hgdev\venv-bootstrap\Scripts;$Env:PATH"
59 Set-Location C:\hgdev\src
61 Set-Location C:\hgdev\src
60 C:\hgdev\python{python_version}-{arch}\python.exe -m pip wheel --wheel-dir dist .
62 C:\hgdev\python{python_version}-{arch}\python.exe -m pip wheel --wheel-dir dist .
61 if ($LASTEXITCODE -ne 0) {{
63 if ($LASTEXITCODE -ne 0) {{
@@ -64,6 +66,7 b' if ($LASTEXITCODE -ne 0) {{'
64 '''
66 '''
65
67
66 BUILD_WIX_PYTHON3 = r'''
68 BUILD_WIX_PYTHON3 = r'''
69 $Env:PATH = "C:\hgdev\venv-bootstrap\Scripts;$Env:PATH"
67 $Env:RUSTUP_HOME = "C:\hgdev\rustup"
70 $Env:RUSTUP_HOME = "C:\hgdev\rustup"
68 $Env:CARGO_HOME = "C:\hgdev\cargo"
71 $Env:CARGO_HOME = "C:\hgdev\cargo"
69 Set-Location C:\hgdev\src
72 Set-Location C:\hgdev\src
General Comments 0
You need to be logged in to leave comments. Login now