Skip to content

Commit b9df112

Browse files
PGijsbersmfeurer
authored andcommitted
Allow installation through setup.py install (but all docs specify to use pip) (#750)
1 parent 8eef523 commit b9df112

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

setup.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
with open("openml/__version__.py") as fh:
77
version = fh.readlines()[-1].split()[-1].strip("\"'")
88

9-
# Using Python setup.py install will try to build numpy which is prone to failure and
10-
# very time consuming anyway.
11-
if len(sys.argv) > 1 and sys.argv[1] == 'install':
12-
print('Please install this package with pip: `pip install -e .` '
13-
'Installation requires pip>=10.0.')
14-
sys.exit(1)
15-
169
if sys.version_info < (3, 5):
1710
raise ValueError(
1811
'Unsupported Python version {}.{}.{} found. OpenML requires Python 3.5 or higher.'

0 commit comments

Comments
 (0)