diff options
-rwxr-xr-x | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -85,6 +85,10 @@ if os.path.exists('MANIFEST'): # so that it is in sys.modules import numpy.distutils.command.sdist import setuptools +if int(setuptools.__version__.split('.')[0]) >= 60: + raise RuntimeError( + "Setuptools version is '{}', version < '60.0.0' is required. " + "See pyproject.toml".format(setuptools.__version__)) # Initialize cmdclass from versioneer from numpy.distutils.core import numpy_cmdclass |