/
pyproject.toml
23 lines (22 loc) · 1.22 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[build-system]
requires = [
"setuptools>=59.2.0",
"wheel>=0.37.1",
"cython>=0.29.32,<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; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
"numpy; python_version>='3.11'",
# 1.8+ Not available for 3.7
"scipy>=1.3,<1.8; python_version=='3.7'",
# 1.9+ Not available for 32-bit windows, so use 1.8 for all 3.8 & 3.9 w/ 32-bit Windows
"scipy>=1.3,<1.9; python_version=='3.8' and platform_system=='Windows' and platform_machine=='x86'",
"scipy>=1.3,<1.9; python_version=='3.9' and platform_system=='Windows' and platform_machine=='x86'",
# Cap at 1.9.x for all other platforms
"scipy>=1.3,<1.10; (python_version>'3.9' or platform_system!='Windows' or platform_machine!='x86') and python_version<'3.12'",
"scipy>=1.9; python_version>='3.12'",
"setuptools_scm[toml]>=7.0,<8"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "statsmodels/_version.py"