File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,15 +111,15 @@ def run(self):
111
111
library_dirs .append (os .path .join (geos_install_prefix , "lib" ))
112
112
library_dirs .append (os .path .join (geos_install_prefix , "lib64" ))
113
113
runtime_library_dirs = library_dirs
114
- if os .name == "nt" :
114
+ if os .name == "nt" or sys . platform == "cygwin" :
115
115
# On Windows:
116
116
# - DLLs get installed under `bin`.
117
117
# - We need to inject later the DLL in the wheel using `data_files`.
118
118
# - We do not use `runtime_library_dirs` as workaround for a
119
119
# `distutils` bug (http://bugs.python.org/issue2437).
120
120
library_dirs .append (os .path .join (geos_install_prefix , "bin" ))
121
121
runtime_library_dirs = []
122
- dlls = glob .glob (os .path .join (geos_install_prefix , "*" , "geos_c.dll" ))
122
+ dlls = glob .glob (os .path .join (geos_install_prefix , "*" , "* geos_c* .dll" ))
123
123
if dlls :
124
124
data_files .append (("../.." , sorted (dlls )))
125
125
You can’t perform that action at this time.
0 commit comments