Skip to content

Commit b1dcfad

Browse files
Add rather than nest include arrays for geos
Shouldn't the contents of inc_dirs be added to geos_include_dirs rather than nested within it?
1 parent a9f3eff commit b1dcfad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def checkversion(GEOS_dir):
7777
manually and set the variable GEOS_dir (right after the line
7878
that says "set GEOS_dir manually here".""" % "', '".join(geos_search_locations))
7979
else:
80-
geos_include_dirs=[os.path.join(GEOS_dir,'include'),inc_dirs]
80+
geos_include_dirs=[os.path.join(GEOS_dir,'include')] + inc_dirs
8181
geos_library_dirs=[os.path.join(GEOS_dir,'lib'),os.path.join(GEOS_dir,'lib64')]
8282

8383
packages = ['mpl_toolkits','mpl_toolkits.basemap']

0 commit comments

Comments
 (0)