forked from fastplotlib/fastplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
76 lines (65 loc) · 1.7 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
75
76
from setuptools import setup, find_packages
from pathlib import Path
install_requires = [
"numpy>=1.23.0",
"pygfx~=0.7.0",
"wgpu>=0.18.1",
"cmap>=0.1.3",
]
extras_require = {
"docs": [
"sphinx",
"sphinx-gallery",
"pydata-sphinx-theme",
"glfw",
"ipywidgets>=8.0.0,<9",
"sphinx-copybutton",
"sphinx-design",
"pandoc",
"imageio[ffmpeg]",
"matplotlib",
"scikit-learn",
],
"notebook": [
"jupyterlab",
"jupyter-rfb>=0.5.1",
"ipywidgets>=8.0.0,<9",
"sidecar",
],
"tests": [
"pytest",
"nbmake",
"black",
"scipy",
"imageio[ffmpeg]",
"scikit-learn",
"tqdm",
],
"imgui": ["imgui-bundle"],
}
with open(Path(__file__).parent.joinpath("README.md")) as f:
readme = f.read()
with open(Path(__file__).parent.joinpath("fastplotlib", "VERSION"), "r") as f:
ver = f.read().split("\n")[0]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
]
setup(
name="fastplotlib",
version=ver,
long_description=readme,
long_description_content_type="text/markdown",
packages=find_packages(),
url="https://github.com/fastplotlib/fastplotlib",
license="Apache 2.0",
author="Kushal Kolar, Caitlin Lewis",
author_email="",
python_requires=">=3.10",
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
description="A fast plotting library built using the pygfx render engine",
)