-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path__pkginfo__.py
64 lines (51 loc) · 1.76 KB
/
__pkginfo__.py
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
import sys
import os.path as osp
author = "Rocky Bernstein"
author_email = "[email protected]"
scripts = [
"script/dmathics",
"script/dmathics3-tokens",
"script/dmathicsdoc",
"script/dmathicsdoccopy",
"script/dmathicsserver",
"script/dmathicsscript",
"script/term-background.sh",
]
def get_srcdir():
filename = osp.normcase(osp.dirname(osp.abspath(__file__)))
return osp.realpath(filename)
def read(*rnames):
return open(osp.join(get_srcdir(), *rnames)).read()
# Get/set __version__ and long_description from files.
exec(read("mathics_omnibus/version.py"))
long_description = read("README.rst") + "\n"
# Setup in EXTRAS_REQUIRE various install options:
# mathicsscript_full, etc.
django_full = {"ujson"}
mathics_core_full = {"psutil", "scikit-image", "lxml", "wordcloud", "cython"}
mathicsscript_full = {"PyYAML", "PyQT5", "cairosvg", "ujson"}
full = mathicsscript_full | django_full
EXTRAS_REQUIRE = {}
for field in "mathics_core_full mathicsscript_full".split():
EXTRAS_REQUIRE[field] = locals()[field]
IS_PYPY = "__pypy__" in sys.builtin_module_names
install_requires = [
"Mathics3 >= 8.0.0",
"mathicsscript >= 8.0.0",
"Mathics-Django >= 8.0.0",
"Mathics3-Trepan >= 1.0.2",
"pymathics-natlang >= 8.0.0",
"pymathics-graph >= 8.0.0",
]
packages = ["mathics_omnibus", "script"]
py_modules = None
short_desc = "A Collection Mathics components to provide the full Mathics3 experience"
url = "http://github.com/Mathics3/mathics-omnibus"
classifiers = [
"Operating System :: OS Independent",
"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",
]