forked from plotly/dash-slicer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (36 loc) · 1.33 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
"""
Setup script to distribute dash-slicer.
"""
import re
from setuptools import find_packages, setup
NAME = "dash-slicer"
SUMMARY = "A volume slicer for Dash"
with open(f"{NAME.replace('-', '_')}/__init__.py") as fh:
VERSION = re.search(r"__version__ = \"(.*?)\"", fh.read()).group(1)
with open("requirements.txt") as fh:
runtime_deps = [x.strip() for x in fh.read().splitlines() if x.strip()]
setup(
name=NAME,
version=VERSION,
packages=find_packages(exclude=["tests", "tests.*", "examples", "examples.*"]),
python_requires=">=3.6.0",
install_requires=runtime_deps,
license="MIT",
description=SUMMARY,
long_description_content_type="text/markdown",
long_description=open("README.md").read(),
author="Plotly",
author_email="[email protected]",
url="https://github.com/plotly/dash-slicer",
data_files=[("", ["LICENSE"])],
zip_safe=True, # not if we put JS in a seperate file, I think
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: User Interfaces",
],
)