-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
76 lines (69 loc) · 2.28 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[build-system]
requires = [
"setuptools>=70.0.0", # CVE-2024-38335 recommends this
# needed for building tables for the sdist:
"PyYAML",
"click",
]
build-backend = "setuptools.build_meta"
[project]
name = "Mathics_Scanner"
description = "Character Tables and Tokenizer for Mathics and the Wolfram Language."
dependencies = [
"PyYAML", # Used in mathics3-generate-json-table
"chardet", # Used in mathics_scanner.feed
"click", # Using in CLI: mathics3-generate-json-table
]
requires-python = ">=3.8"
readme = "README.rst"
license = {text = "GPL-3.0-only"}
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
maintainers = [
{name = "Mathics3 Group"},
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Interpreters",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://mathics.org/"
[project.optional-dependencies]
dev = [
"pytest",
]
full = [
"ujson", # Optional Used in mathics_scanner.characters
]
[project.scripts]
mathics3-generate-json-table = "mathics_scanner.generate.build_tables:main"
mathics3-generate-operator-json-table = "mathics_scanner.generate.build_operator_tables:main"
mathics3-tokens = "mathics_scanner.mathics3_tokens:main"
[tool.setuptools]
packages = [
"mathics_scanner",
"mathics_scanner.generate",
]
[tool.setuptools.package-data]
"mathics_scanner" = [
"data/named-characters.yml",
"data/*.csv",
"data/character-tables.json", # List this explicitly since it is needed
"data/*.json",
"data/ExampleData/*",
]
[tool.setuptools.dynamic]
version = {attr = "mathics_scanner.version.__version__"}