11[build-system ]
22requires = [
3- " setuptools>=70.0.0" ,
4- " sympy>=1.11,<1.13" ,
5- " PatternLite" ,
6- " langid" , # replace with a supported newer package, e.g. via spacy
7- " matplotlib" ,
8- " mpmath>=1.2.0" ,
9- " numpy" ,
10- " pycountry>=3.2.0" ,
11- " pyenchant>=3.2.0" ,
12- " scipy>=1.10.0" ,
13- " spacy>=3.4" ,
14- " wasabi<1.1.0,>=0.8.2" ,
3+ " setuptools>=70.0.0" ,
4+ " wheel" ,
155]
166build-backend = " setuptools.build_meta"
177
188[project ]
199name = " Mathics3-natlang"
2010description = " Mathics3 Natural Language Toolkit module"
2111dependencies = [
22- " Mathics3>=8.0.1" ,
23- " Mathics3-Module-Base" ,
12+ " setuptools>=70.0.0" ,
13+ " Mathics3>=9.0.0" ,
14+ " Mathics3-Module-Base>=9.0.0" ,
2415 " click>=8.0" ,
2516 " joblib>=1.0.1" ,
26- " langid" , # replace with a supported newer package, e.g. via spacy
17+ # replace with a supported newer package, e.g. via spacy
18+ " langid" ,
2719 " llvmlite>=0.36" ,
2820 " nltk>=3.8.0" ,
21+ " mpmath>=1.2.0" ,
2922 " PatternLite" ,
3023 " pyenchant>=3.2.0" ,
3124 " pycountry>=3.2.0" ,
@@ -34,15 +27,14 @@ dependencies = [
3427]
3528requires-python = " >=3.10"
3629readme = " README.rst"
37- license = { text = " GPL" }
30+ license = " GPL-3.0-or-later "
3831keywords = [" Mathematica" , " Wolfram" , " Interpreter" , " Shell" , " Math" , " CAS" ]
3932maintainers = [
4033 {
name =
" Mathics Group" ,
email =
" [email protected] " },
4134]
4235classifiers = [
4336 " Intended Audience :: Developers" ,
4437 " Intended Audience :: Science/Research" ,
45- " License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
4638 " Programming Language :: Python" ,
4739 " Programming Language :: Python :: 3.10" ,
4840 " Programming Language :: Python :: 3.11" ,
@@ -71,4 +63,6 @@ packages = [
7163]
7264
7365[tool .setuptools .dynamic ]
74- version = {attr = " pymathics.natlang.__version__" }
66+ # We cannot load the version directly from pymathics.natlang.__init__,
67+ # because it would try to import modules which are not already installed.
68+ version = {attr = " pymathics.natlang.version.__version__" }
0 commit comments