forked from equinor/webviz-core-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (40 loc) · 1.47 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
import os
import json
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
with open(os.path.join("webviz_core_components", "package-info.json")) as f:
package = json.load(f)
package_name = package["name"].replace(" ", "_").replace("-", "_")
install_requires = ["dash~=1.6"]
tests_require = ["selenium", "pylint", "black"]
# 'dash[testing]' to be added in tests_require when
# https://github.com/pypa/pip/issues/4957 is closed.
setup(
name=package_name,
author=package["author"],
packages=[package_name],
include_package_data=True,
license=package["license"],
description=package["description"],
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/equinor/webviz-core-components",
install_requires=install_requires,
tests_require=tests_require,
extras_require={"tests": tests_require, "dependencies": install_requires},
setup_requires=["setuptools_scm~=3.2"],
use_scm_version=True,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Natural Language :: English",
"Environment :: Web Environment",
"Framework :: Dash",
"Framework :: Flask",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: MIT License",
],
)