-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathpyproject.toml
134 lines (123 loc) · 3.41 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
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
[build-system]
requires = [
"setuptools",
"cython>=0.15.1; implementation_name!='pypy'",
# For mathics-generate-json-table
"Mathics-Scanner >= 1.4.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 = [
"Mathics-Scanner >= 1.4.1",
"mpmath>=1.2.0",
"numpy<2.3",
"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",
"python-dateutil",
# Pympler is used in ByteCount[] and MemoryInUse[].
"Pympler",
"requests",
"scipy",
"setuptools",
# stopit is needed in TimeRemaining[]
"stopit; platform_system != 'Emscripten'",
"sympy>=1.13,<1.14",
]
license = {text = "GPL3"}
name = "Mathics3"
requires-python = ">=3.8" # Sympy 1.11 is supported only down to 3.8
readme = "README.rst"
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
maintainers = [
{name = "Mathics Group", email = "[email protected]"},
]
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/"
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"
[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