Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Delvewheel #4

Merged
merged 12 commits into from
Nov 3, 2022
12 changes: 4 additions & 8 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@ echo netCDF4_incdir = %LIBRARY_INC% >> %SITECFG%
%PYTHON% -m pip wheel . --wheel-dir=dist --no-deps --no-build-isolation -vv
if errorlevel 1 exit 1

set dep_dir=%LIBRARY_BIN%
python %RECIPE_DIR%\fix_windows_wheel.py %dep_dir%\hdf5.dll %dep_dir%\netcdf.dll %dep_dir%\libcurl.dll %dep_dir%\libcrypto-3-x64.dll %dep_dir%\zlib.dll ^
%dep_dir%\mfhdf.dll %dep_dir%\hdf5_hl.dll %dep_dir%\zip.dll %dep_dir%\libssh2.dll %dep_dir%\libbz2.dll %dep_dir%\xdr.dll %dep_dir%\hdf.dll
if errorlevel 1 exit 1

mkdir %RECIPE_DIR%\..\build_artifacts
mkdir %RECIPE_DIR%\..\build_artifacts\pypi_wheels

for %%f in (dist\*.whl) do (
cp %%f %RECIPE_DIR%\..\build_artifacts\pypi_wheels\
cp %%f %PREFIX%\
cd dist
for %%f in (*.whl) do (
delvewheel repair -w %RECIPE_DIR%\..\build_artifacts\pypi_wheels\ %%f
cp %RECIPE_DIR%\..\build_artifacts\pypi_wheels\%%f %PREFIX%\
)
2 changes: 1 addition & 1 deletion recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
channel_targets:
- isuruf test
- ocefpaf test
29 changes: 0 additions & 29 deletions recipe/fix_windows_wheel.py

This file was deleted.

2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ requirements:
- hdf5
- libnetcdf
- zlib
- delocate # [win]
- delvewheel # [win]
run:
- python

Expand Down