We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39fe68 commit 8eb0a4aCopy full SHA for 8eb0a4a
packages/basemap/utils/GeosLibrary.py
@@ -139,6 +139,13 @@ def extract(self, overwrite=True):
139
for line in lines:
140
fd.write(line.replace(oldtext, newtext).encode())
141
142
+ # The SVN revision file is not created on the fly before 3.6.0.
143
+ svn_hfile = os.path.join(zipfold, "geos_svn_revision.h")
144
+ if not os.path.exists(svn_hfile):
145
+ with io.open(svn_hfile, "wb") as fd:
146
+ text = "#define GEOS_SVN_REVISION 0"
147
+ fd.write(text.encode())
148
+
149
def build(self, installdir=None, njobs=1):
150
"""Build and install GEOS from source."""
151
0 commit comments