-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
executable file
·74 lines (69 loc) · 2.06 KB
/
setup.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
65
66
67
68
69
70
71
72
73
74
from setuptools import setup, find_packages
import os
def readme():
with open("README.md") as f:
return f.read()
here = os.path.dirname(os.path.abspath(__file__))
version_ns = {}
with open(os.path.join(here, 'spb', '_version.py')) as f:
exec (f.read(), {}, version_ns)
_all_deps = [
"scipy>=1.7.1", # helps when lambdifying expressions
"adaptive>=0.13.1",
"notebook",
"ipympl>=0.7.0",
"plotly>=4.14.3",
"panel>=1.0.0", # this includes param and bokeh
"ipywidgets_bokeh", # starting from panel v0.13.0, it is not part of panel anymore
"colorcet",
"k3d>=2.9.7",
"vtk", # needed for streamlines in k3d
"control>=0.10.0",
"imageio", "imageio-ffmpeg", "psutil", "av", "tqdm", # to save animations
# mayavi-related
# "mayavi>=4.8.0",
# "PyQt5>=5.15.7",
]
_dev_deps = _all_deps + [
"pytest",
"pytest-mock",
"sphinx",
"sphinx-rtd-theme",
"kaleido",
"numpydoc"
]
setup(
name="sympy_plot_backends",
version=version_ns["__version__"],
description="Backends for plotting with SymPy",
long_description=readme(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics"
],
keywords="sympy plot plotting backend plotly bokeh mayavi k3d panel",
url="https://github.com/Davide-sd/sympy-plot-backends",
author="Davide Sandona",
author_email="[email protected]",
license="BSD License",
packages=find_packages(exclude=("tests", )),
include_package_data=True,
zip_safe=False,
install_requires=[
"packaging",
"appdirs>=1.4.4",
"numpy>=1.21.1",
"sympy>=1.10.1",
"matplotlib>3.4.2",
"mergedeep>=1.3.4",
],
extras_require={
"all": _all_deps,
"dev": _dev_deps,
}
)