do not copy DLLs into site-packages
@@ -16,9 +16,12 @@ source:
build:
number: 0
script:
- # see https://github.com/pygame/pygame/blob/main/buildconfig/config_unix.py
- # despite the name "_unix", this only works for linux
+ # despite the name "_unix", this only works for linux, c.f...
+ # https://github.com/pygame/pygame/blob/main/buildconfig/config_unix.py
- export LOCALBASE="$PREFIX" # [linux]
+ # avoid windows copying the DLLs into site-packages, see
+ # https://github.com/pygame/pygame/blob/2.1.0/setup.py#L570-L705
+ - set WIN32_DO_NOT_INCLUDE_DEPS=1 # [win]
- {{ PYTHON }} -m pip install . -vv
requirements:
