Skip to content

Commit 0d0eb39

Browse files
authored
Merge pull request #10894 from ImportanceOfBeingErnest/update-win-build-doc
Update install instructions for win
2 parents 9bcd3fd + fd4540e commit 0d0eb39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

INSTALL.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,14 +294,14 @@ without fiddling with environment variables::
294294
conda install -c conda-forge msinttypes
295295

296296
# copy the libs which have "wrong" names
297-
set LIBRARY_LIB=%CONDA_DEFAULT_ENV%\Library\lib
297+
set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
298298
mkdir lib || cmd /c "exit /b 0"
299299
copy %LIBRARY_LIB%\zlibstatic.lib lib\z.lib
300300
copy %LIBRARY_LIB%\libpng_static.lib lib\png.lib
301301

302302
# Make the header files and the rest of the static libs available during the build
303303
# CONDA_DEFAULT_ENV is a env variable which is set to the currently active environment path
304-
set MPLBASEDIRLIST=%CONDA_DEFAULT_ENV%\Library\;.
304+
set MPLBASEDIRLIST=%CONDA_PREFIX%\Library\;.
305305

306306
# build the wheel
307307
python setup.py bdist_wheel

0 commit comments

Comments
 (0)