| 1 |
C:\\%WINPYTHON%\\python.exe --version |
| 2 |
for /F "tokens=*" %%g in ('C:\\%WINPYTHON%\\python.exe -c "import sys; print(sys.path[-1])"') do (set PYSITEDIR=%%g) |
| 3 |
REM use mingw 32 bit until #3291 is resolved |
| 4 |
REM add python and python user-base to path for pip installs |
| 5 |
set PATH=C:\\%WINPYTHON%;C:\\%WINPYTHON%\\Scripts;C:\\ProgramData\\chocolatey\\bin;C:\\MinGW\\bin;C:\\MinGW\\msys\\1.0\\bin;C:\\cygwin\\bin;C:\\msys64\\usr\\bin;C:\\msys64\\mingw64\\bin;%PATH% |
| 6 |
C:\\%WINPYTHON%\\python.exe -m pip install -U --progress-bar off pip setuptools wheel |
| 7 |
|
| 8 |
REM requirements-dev.txt will skip installing lxml for windows and py 3.11+, where there's |
| 9 |
REM no current binary wheel |
| 10 |
C:\\%WINPYTHON%\\python.exe -m pip install -U --progress-bar off -r requirements-dev.txt |
| 11 |
|
| 12 |
choco install --allow-empty-checksums dmd ldc swig vswhere xsltproc winflexbison3 |
| 13 |
set |