Skip to content

Commit 3dd69f7

Browse files
committed
Check for the required cmake 3.10.0 on Windows in setup.py
The CMakeLists.txt requires it, so we might as well update the checkin setup.py and fail there.
1 parent c253197 commit 3dd69f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def run(self):
2626

2727
if platform.system() == "Windows":
2828
cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1))
29-
if cmake_version < '3.1.0':
30-
raise RuntimeError("CMake >= 3.1.0 is required on Windows")
29+
if cmake_version < '3.10.0':
30+
raise RuntimeError("CMake >= 3.10.0 is required on Windows")
3131

3232
for ext in self.extensions:
3333
self.build_extension(ext)

0 commit comments

Comments
 (0)