-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathpyproject.toml
More file actions
151 lines (138 loc) · 3.94 KB
/
Copy pathpyproject.toml
File metadata and controls
151 lines (138 loc) · 3.94 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
139
140
141
142
143
144
145
146
147
148
149
150
151
[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.1",
# "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>=2.4", # Numpy 1.x is definitely no good
"palettable",
"packaging",
# 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",
"python-magic",
# 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 = [
"check-jsonschema",
"pexpect",
"pre-commit",
"pytest",
]
full = [
"ipywidgets",
"llvmlite",
"lxml",
"psutil",
"pyocr",
"scikit-image >= 0.17",
"unidecode",
"wordcloud >= 1.9.3",
]
cython = [
"cython",
]
gmp2 = [
"gmp2", # Faster long integers, and ratios. This is *optional* in SymPy
]
[project.scripts]
mathics = "mathics.__main__:main"
mathics3 = "mathics.__main__:main"
mathics3-codeparser-parse = "mathics.mathics3_code_parse:main"
[tool.codespell]
# Point to your custom ignore file
ignore-words = "codespell-ignore.txt"
# Exclude directories or files that often trigger false positives
skip = "*.pyd,*.pyc,./.git,./.venv,./build"
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["mathics*"]
[tool.setuptools.package-data]
"mathics" = [
"Autoload/*.wl",
"Autoload/*/*.wl",
"Packages/*/*.wl",
"Packages/*/Kernel/init.wl",
"SystemFiles/CharacterEncodings/*",
"SystemFiles/Dictionaries/*/*.txt",
"SystemFiles/Formats/*/*.wl",
"Data/*.csv",
"Data/*.json",
"Data/*.pcl",
"Data/*.yaml",
"Data/*.yml",
"Data/ExampleData/*",
"autoload-cli/*.m",
"autoload/*/*.m",
# YAML files in test/format
"test/format/*.yaml",
# 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.overrides]]
module = ["mpmath", "llvmlite.*", "trepan.*", "mathics.benchmark",
"mathics.builtin.*", "mathics.eval.*", "test.*"]
ignore_errors = true