-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathsetup.py
More file actions
90 lines (75 loc) · 1.87 KB
/
setup.py
File metadata and controls
90 lines (75 loc) · 1.87 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
from setuptools import setup, find_packages
from pathlib import Path
install_requires = [
"numpy>=1.23.0",
"pygfx>=0.1.14",
]
extras_require = {
"docs": [
"sphinx",
"furo",
"glfw",
"jupyter-rfb>=0.4.1", # required so ImageWidget docs show up
"ipywidgets>=8.0.0,<9",
"sphinx-copybutton",
"sphinx-design",
"nbsphinx",
"pandoc",
"jupyterlab",
"sidecar"
],
"notebook":
[
"jupyterlab",
"jupyter-rfb>=0.4.1",
"ipywidgets>=8.0.0,<9",
"sidecar"
],
"tests":
[
"pytest",
"nbmake",
"scipy",
"imageio[pyav]",
"jupyterlab",
"jupyter-rfb>=0.4.1",
"ipywidgets>=8.0.0,<9",
"scikit-learn",
"tqdm",
"sidecar"
],
"tests-desktop":
[
"pytest",
"scipy",
"imageio",
"scikit-learn",
"tqdm",
]
}
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.9',
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
description='A fast plotting library built using the pygfx render engine'
)