https://github.com/psycopg/psycopg/runs/
3754213309?check_suite_focus=true
Not sure this is the right thing to do, if we are pulling in the right
dll.
CIBW_ARCHS_WINDOWS: AMD64 x86
CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >-
- delvewheel repair -w {dest_dir} --no-mangle libiconv-2.dll {wheel}
+ delvewheel repair -w {dest_dir} --no-mangle "libiconv-2.dll;libwinpthread-1.dll" {wheel}
CIBW_TEST_REQUIRES: ./psycopg[test] ./psycopg_pool
CIBW_TEST_COMMAND: pytest {project}/tests -m "not slow" --color yes
CIBW_ENVIRONMENT_WINDOWS: >-
$env:Path = "C:\Program Files\PostgreSQL\13\bin\;$env:Path"
python ./psycopg_c/setup.py bdist_wheel
pip install delvewheel
- &"delvewheel" repair --no-mangle libiconv-2.dll @(Get-ChildItem psycopg_c\dist\*.whl)
+ &"delvewheel" repair --no-mangle "libiconv-2.dll;libwinpthread-1.dll" @(Get-ChildItem psycopg_c\dist\*.whl)
# tox will only build the package from sdist, not from wheel, so we can't
# use it for testing. Just test everything in the global installation.