提交 ee0075be authored 作者: Ben Mares's avatar Ben Mares 提交者: Ricardo Vieira

Bump setuptools version to >=59

上级 19358099
[build-system] [build-system]
requires = [ requires = [
"setuptools>=48.0.0", "setuptools>=59.0.0",
"cython", "cython",
"numpy>=1.17.0", "numpy>=1.17.0",
"versioneer[toml]>=0.28", "versioneer[toml]>=0.28",
...@@ -46,7 +46,7 @@ keywords = [ ...@@ -46,7 +46,7 @@ keywords = [
"differentiation", "differentiation",
] ]
dependencies = [ dependencies = [
"setuptools>=48.0.0", "setuptools>=59.0.0",
"scipy>=0.14", "scipy>=0.14",
"numpy>=1.17.0,<2", "numpy>=1.17.0,<2",
"filelock", "filelock",
......
try: from setuptools.errors import CompileError as BaseCompileError
from setuptools.errors import CompileError as BaseCompileError
except ImportError:
import warnings
from distutils.errors import CompileError as BaseCompileError # type: ignore
from importlib.metadata import version
# These exception classes were made available in setuptools
# since v59.0.0 via <https://github.com/pypa/setuptools/pull/2858>
# in preparation for distutils deprecation. Complain loudly if they
# are not available.
setuptools_version = version("setuptools")
warnings.warn(
f"You appear to be using an ancient version of setuptools: "
f"v{setuptools_version}. Please upgrade to at least v59.0.0. "
f"Support for this version of setuptools is provisionary and "
f"may be removed without warning in the future."
)
class MissingGXX(Exception): class MissingGXX(Exception):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论