Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79b4f6c

Browse files
authored
Merge pull request #10895 from matplotlib/auto-backport-of-pr-10894
Backport PR #10894 on branch v2.2.2-doc
2 parents f609a6d + 0686101 commit 79b4f6c

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
@@ -330,14 +330,14 @@ without fiddling with environment variables::
330330
conda install -c conda-forge backports.functools_lru_cache
331331

332332
# copy the libs which have "wrong" names
333-
set LIBRARY_LIB=%CONDA_DEFAULT_ENV%\Library\lib
333+
set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
334334
mkdir lib || cmd /c "exit /b 0"
335335
copy %LIBRARY_LIB%\zlibstatic.lib lib\z.lib
336336
copy %LIBRARY_LIB%\libpng_static.lib lib\png.lib
337337

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

342342
# build the wheel
343343
python setup.py bdist_wheel

0 commit comments

Comments
 (0)