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):
111111 library_dirs .append (os .path .join (geos_install_prefix , "lib" ))
112112 library_dirs .append (os .path .join (geos_install_prefix , "lib64" ))
113113 runtime_library_dirs = library_dirs
114- if os .name == "nt" :
114+ if os .name == "nt" or sys . platform == "cygwin" :
115115 # On Windows:
116116 # - DLLs get installed under `bin`.
117117 # - We need to inject later the DLL in the wheel using `data_files`.
118118 # - We do not use `runtime_library_dirs` as workaround for a
119119 # `distutils` bug (http://bugs.python.org/issue2437).
120120 library_dirs .append (os .path .join (geos_install_prefix , "bin" ))
121121 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" ))
123123 if dlls :
124124 data_files .append (("../.." , sorted (dlls )))
125125
You can’t perform that action at this time.
0 commit comments