/
githubmirror
/
scikit-learn
Обзор
Документация
Войти
/
githubmirror
/
scikit-learn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
1.2.2
pyproject.toml
40 строк
1 KB
Thomas J. Fan
MAINT Removes upper limit on setuptools (#25651)
08 мар 2023, 19:21
08 мар 2023, 19:21
7c98a1d
Код
Авторство
О чём код?
[build-system] # Minimum requirements for the build system to execute. requires = [ "setuptools", "wheel", "Cython>=0.29.24", # use oldest-supported-numpy which provides the oldest numpy version with # wheels on PyPI # # see: https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg "oldest-supported-numpy; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'", # For CPython 3.10 under Windows, SciPy requires NumPy 1.22.3 while the # oldest supported NumPy is defined as 1.21.6. We therefore need to force # it for this specific configuration. For details, see # https://github.com/scipy/scipy/blob/c58b608c83d30800aceee6a4dab5c3464cb1de7d/pyproject.toml#L38-L41 "numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'", "scipy>=1.3.2", ] [tool.black] line-length = 88 target_version = ['py38', 'py39', 'py310'] preview = true exclude = ''' /( \.eggs # exclude a few common directories in the | \.git # root of the project | \.mypy_cache | \.vscode | build | dist | doc/tutorial | doc/_build | doc/auto_examples | sklearn/externals | asv_benchmarks/env )/ '''