-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (126 loc) · 3.51 KB
/
pyproject.toml
File metadata and controls
138 lines (126 loc) · 3.51 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = [
# setuptools and wheel are needed for pip install --no-build-isolation
# --no-build-isoolation is used when the API breaks and we need to
# build from a GitHub repository
"setuptools",
"wheel",
"cython>=0.15.1; implementation_name!='pypy'",
# For mathics-generate-json-table
"Mathics3_Scanner>=10.0",
# "packaging" is needed for testing the SymPy Version
# in PartionsP
"packaging",
]
build-backend = "setuptools.build_meta"
[project]
description = "A general-purpose computer algebra system."
dependencies = [
"Mathics3_Scanner>=10.0",
"mpmath>=1.2.0",
"numpy",
"palettable",
# Pillow 9.1.0 supports BigTIFF with big-endian byte order.
# ExampleData image hedy.tif is in this format.
# Pillow 9.2 handles sunflowers.jpg
"pillow >= 9.2",
"pint >=0.24", # Earlier pint has problems with numpy 2.2.6
"python-dateutil",
# Pympler is used in ByteCount[] and MemoryInUse[].
"Pympler",
"requests",
"scipy",
"setuptools",
# Timed-Threads is needed in TimeRemaining[]
"Timed-Threads",
"sympy>=1.13",
]
license = "GPL-3.0-or-later"
name = "Mathics3"
requires-python = ">=3.11"
readme = "README.rst"
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
maintainers = [
{name = "Mathics3 Group", email = "mathics-devel@googlegroups.com"},
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Interpreters",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://mathics.org/"
Downloads = "https://github.com/Mathics3/mathics-core/releases"
[project.optional-dependencies]
dev = [
"pexpect",
"pytest",
]
full = [
"ipywidgets",
"llvmlite",
"lxml",
"psutil",
"pyocr",
"scikit-image >= 0.17",
"unidecode",
"wordcloud >= 1.9.3",
]
cython = [
"cython",
]
[project.scripts]
mathics = "mathics.__main__:main"
mathics3 = "mathics.__main__:main"
mathics3-codeparser-parse = "mathics.mathics3_code_parse:main"
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["mathics*"]
[tool.setuptools.package-data]
"mathics" = [
"Packages/*/*.m",
"Packages/*/Kernel/init.m",
"autoload-cli/*.m",
"autoload/*.m",
"autoload/*/*.m",
"autoload/formats/*/Export.m",
"autoload/formats/*/Import.m",
"data/*.csv",
"data/*.json",
"data/*.pcl",
"data/*.yaml",
"data/*.yml",
"data/ExampleData/*",
# Documentation stuff that will be removed in 9.0.0 or before
"doc/latex/mathics.pdf",
# End doc stuff
"test/data/*",
]
"mathics.doc" = [
"documentation/*.mdoc",
"xml/data",
]
"mathics.builtin.pymimesniffer" = [
"mimetypes.xml",
]
[tool.setuptools.dynamic]
version = {attr = "mathics.version.__version__"}
[tool.mypy]
force_union_syntax = true
[[tool.mypy.overrides]]
module = ["mpmath", "llvmlite.*", "trepan.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["mathics.benchmark", "mathics.builtin.*", "mathics.eval.*", "test.*"]
ignore_errors = true