mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
cdca44ac11
* Dynamically include numpy headers * Add `build-constraints.txt` with numpy version pins for building wheels with `pip` and `wheelwright` * Update `setup.py` to add current numpy include directory * Assume `cython` and `numpy` are installed for `setup.py` * Remove included numpy headers * Fix typo in requirements.txt * Use script in CI
15 lines
393 B
TOML
15 lines
393 B
TOML
[build-system]
|
|
requires = [
|
|
"setuptools",
|
|
"cython>=0.25",
|
|
"cymem>=2.0.2,<2.1.0",
|
|
"preshed>=3.0.2,<3.1.0",
|
|
"murmurhash>=0.28.0,<1.1.0",
|
|
"thinc>=7.4.1,<7.5.0",
|
|
"numpy==1.15.0; python_version<='3.7'",
|
|
"numpy==1.17.3; python_version=='3.8'",
|
|
"numpy==1.19.3; python_version=='3.9'",
|
|
"numpy; python_version>='3.10'",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|