Skip to content

Commit cef04b1

Browse files
committed
cleans the pip installer
1 parent d1c5c1e commit cef04b1

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

InterfacePython/PipInstaller/setup.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,9 @@
22
import sys, site
33

44
# do standard skbuild setup
5-
from packaging import version
65
from skbuild.exceptions import SKBuildError
7-
from skbuild.cmaker import get_cmake_version
86
from skbuild import setup # This line replaces 'from setuptools import setup'
97

10-
# Add CMake as a build requirement if cmake is not installed or too old
11-
setup_requires = []
12-
try:
13-
if version.parse(get_cmake_version()) < version.parse("3.19"):
14-
setup_requires.append('cmake>=3.19')
15-
except SKBuildError:
16-
setup_requires.append('cmake>=3.19')
17-
setup_requires.append('numpy>=1.10')
18-
198
with open('README.md', 'r') as fh:
209
readme_file = fh.readlines()
2110

@@ -84,7 +73,7 @@
8473
],
8574
install_requires=['numpy>=1.10'],
8675
### cmake portion of the setup, specific to skbuild ###
87-
setup_requires=setup_requires,
76+
setup_requires=['numpy>=1.10', ],
8877
cmake_args=cmake_args,
8978
py_modules=[]
9079
)

0 commit comments

Comments
 (0)