|
1 | 1 | [build-system] |
2 | 2 | requires = [ |
3 | | - "setuptools>=70.0.0", |
4 | | - "wheel", |
| 3 | + "setuptools", |
| 4 | + "Mathics3-Module-Base", |
| 5 | + "Mathics3>=9.0.0", |
| 6 | + "PatternLite", |
| 7 | + "langid", # replace with a supported newer package, e.g. via spacy |
| 8 | + "matplotlib", |
| 9 | + "mpmath>=1.2.0", |
| 10 | + "nltk>=3.8.0", |
| 11 | + "numpy", |
| 12 | + "pycountry>=3.2.0", |
| 13 | + "pyenchant>=3.2.0", |
| 14 | + "scipy>=1.10.0", |
| 15 | + "spacy>=3.4", |
| 16 | + "wasabi<1.1.0,>=0.8.2", |
5 | 17 | ] |
6 | 18 | build-backend = "setuptools.build_meta" |
7 | 19 |
|
8 | 20 | [project] |
9 | | -name = "Mathics3-natlang" |
| 21 | +name = "Mathics3-Module-nltk" |
10 | 22 | description = "Mathics3 Natural Language Toolkit module" |
11 | 23 | dependencies = [ |
12 | | - "setuptools>=70.0.0", |
13 | 24 | "Mathics3>=9.0.0", |
14 | 25 | "Mathics3-Module-Base>=9.0.0", |
15 | 26 | "click>=8.0", |
16 | 27 | "joblib>=1.0.1", |
17 | | - # replace with a supported newer package, e.g. via spacy |
18 | | - "langid", |
| 28 | + "langid", # replace with a supported newer package, e.g. via spacy |
19 | 29 | "llvmlite>=0.36", |
20 | 30 | "nltk>=3.8.0", |
21 | 31 | "mpmath>=1.2.0", |
@@ -46,23 +56,22 @@ classifiers = [ |
46 | 56 | "Topic :: Scientific/Engineering :: Mathematics", |
47 | 57 | "Topic :: Software Development :: Interpreters", |
48 | 58 | ] |
49 | | -dynamic = ["version"] |
| 59 | + |
| 60 | +version = "9.0.0" |
| 61 | +# # FIXME: reinstante this |
| 62 | +# dynamic = ["version"] |
50 | 63 |
|
51 | 64 | [project.urls] |
52 | | -Homepage = "https://github.com/Mathics3/pymathics-natlang" |
53 | | -Downloads = "https://github.com/Mathics3/pymathics-natlang/releases" |
| 65 | +Homepage = "https://github.com/Mathics3/Mathics3-Module-nltk" |
| 66 | +Downloads = "https://github.com/Mathics3/Mathics3-Module-nltk/releases" |
54 | 67 |
|
55 | 68 | [project.optional-dependencies] |
56 | 69 | dev = [ |
57 | 70 | "pytest", |
58 | 71 | ] |
59 | 72 |
|
60 | | -[tool.setuptools] |
61 | | -packages = [ |
62 | | - "pymathics.natlang", |
63 | | -] |
64 | | - |
65 | | -[tool.setuptools.dynamic] |
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__"} |
| 73 | +# # FIXME: reinstante this |
| 74 | +# [tool.setuptools] |
| 75 | +# packages = [ |
| 76 | +# "pymathics.natlang", |
| 77 | +# ] |
0 commit comments