mirror of
https://github.com/statsmodels/statsmodels.git
synced 2023-10-26 18:51:56 +03:00
18 lines
759 B
TOML
18 lines
759 B
TOML
[build-system]
|
|
# These are strictly build requirements. Runtime requirements are listed in
|
|
# INSTALL_REQUIRES in setup.py
|
|
requires = [
|
|
"setuptools>=59.2.0",
|
|
"cython>=0.29.26,<3", # Sync with CYTHON_MIN_VER in setup
|
|
# Workaround for oldest supported numpy using 1.21.6, but SciPy 1.9.2+ requiring 1.22.3+
|
|
"oldest-supported-numpy; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'",
|
|
"numpy>=1.22.3,<2; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
|
|
"numpy<2; python_version>='3.12'",
|
|
"scipy>=1.4",
|
|
"setuptools_scm[toml]>=7,<8"
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools_scm]
|
|
write_to = "statsmodels/_version.py"
|