Skip to content

Commit 02340ee

Browse files
committed
Revert setup of data files on Windows
We are only interested in bundling the DLL file for GEOS on Windows for standard installations but not for MinGW64 or Cygwin. Therefore, the filename pattern matching needs to be more restrictive because otherwise we will find `libgeos_c.dll` as valid file to bundle.
1 parent a28c99f commit 02340ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/basemap/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def run(self):
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

0 commit comments

Comments
 (0)