diff --git a/recipe/install_base.bat b/recipe/install_base.bat index 92fdaeb19..2d7485a2d 100644 --- a/recipe/install_base.bat +++ b/recipe/install_base.bat @@ -51,7 +51,7 @@ if "%PY_FREETHREADING%" == "yes" ( ) :: Populate the root package directory -for %%x in (python%EXE_T%%_D%.exe pythonw%EXE_T%%_D%.exe) do ( +for %%x in (python%VERNODOTS%%THREAD%%_D%.dll python3%THREAD%%_D%.dll python%EXE_T%%_D%.exe pythonw%EXE_T%%_D%.exe) do ( if exist %SRC_DIR%\PCbuild\%HOST_DIR%\%%x ( copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\%%x %PREFIX% ) else ( diff --git a/recipe/install_shared.bat b/recipe/install_shared.bat deleted file mode 100644 index ddbb53dde..000000000 --- a/recipe/install_shared.bat +++ /dev/null @@ -1,37 +0,0 @@ -setlocal EnableDelayedExpansion -echo on - -if "%target_platform%"=="win-64" ( - set HOST_DIR=amd64 -) -if "%target_platform%"=="win-32" ( - set HOST_DIR=win32 -) -if "%target_platform%"=="win-arm64" ( - set HOST_DIR=arm64 -) - -for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do ( - set "VERNODOTS=%%i%%j" -) - -if "%PY_INTERP_DEBUG%"=="yes" ( - set _D=_d -) else ( - set _D= -) - -if "%PY_FREETHREADING%" == "yes" ( - set "THREAD=t" -) else ( - set "THREAD=" -) - -:: move python*.dll -for %%x in (python%VERNODOTS%%THREAD%%_D%.dll python3%THREAD%%_D%.dll) do ( - if exist %SRC_DIR%\PCbuild\%HOST_DIR%\%%x ( - copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\%%x %PREFIX% - ) else ( - echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\%%x does not exist" - ) -) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 891b5e104..9758287df 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 3 %} +{% set build_number = 4 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -327,9 +327,9 @@ outputs: # Test for wide character supported via ncursesw - TERM=xterm >/dev/null python -c "import curses; scr = curses.initscr(); curses.unget_wch('x'); assert 'x' == scr.get_wch()" # [unix] + # this output is empty on windows - name: libpython script: install_shared.sh # [unix] - script: install_shared.bat # [win] build: number: {{ build_number }} activate_in_script: true @@ -357,13 +357,6 @@ outputs: {% endif %} - test -f ${PREFIX}/lib/libpython${VERABI}${SHLIB_EXT} # [unix] - test -f ${PREFIX}/lib/libpython3${SHLIB_EXT} # [unix and build_type == "release"] - {% if freethreading == "yes" %} - - if not exist %PREFIX%\python3t.dll exit 1 # [win] - - if not exist %PREFIX%\python{{ ver2nd }}t.dll exit 1 # [win] - {% else %} - - if not exist %PREFIX%\python3.dll exit 1 # [win] - - if not exist %PREFIX%\python{{ ver2nd }}.dll exit 1 # [win] - {% endif %} - name: libpython-static script: install_static.sh # [unix]