Skip to content

Commit ed4912e

Browse files
committed
Change check for error message as could not sdist off old setup.
1 parent 049b16a commit ed4912e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

setup.py

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

9-
try:
10-
import numpy # noqa: F401
11-
import scipy # noqa: F401
12-
except ImportError:
9+
if len(sys.argv) > 1 and sys.argv[1] == 'install':
1310
print('Please install this package with pip: `pip install -e .`'
1411
'Installation requires pip>=10.0')
1512
sys.exit(1)
1613

17-
1814
setuptools.setup(name="openml",
1915
author="Matthias Feurer, Andreas Müller, Farzan Majdani, "
2016
"Joaquin Vanschoren, Jan van Rijn and Pieter Gijsbers",

0 commit comments

Comments
 (0)