-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathsetup.py
59 lines (53 loc) · 1.48 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
import json
from setuptools import setup
with open("package.json", encoding="utf-8") as f:
package = json.load(f)
package_name = package["name"].replace(" ", "_").replace("-", "_")
INSTALL_REQUIRES = [
"dash>=2.0",
"numpy>=1.14",
"pandas>=1.0",
]
TESTS_REQUIRE = [
"bandit",
"black==23.1.0",
"dash[testing]",
"geojson>=2.5.0",
"jsonpatch>=1.32",
"jsonpointer>=2.1",
"matplotlib>=3.0",
"orjson>=3.8.2",
"Pillow>=6.0",
"pylint>=2.4",
"scipy>=1.2",
"selenium>=3.141",
"vtk>=9.2.2",
"webviz-core-components>=0.6.0",
"xtgeo>=2.20.3",
]
setup(
name=package_name,
# version = this is set automatically by CI
author=package["author"],
packages=[package_name],
include_package_data=True,
license=package["license"],
description=package.get("description", package_name),
url="https://github.com/equinor/webviz-subsurface-components",
install_requires=INSTALL_REQUIRES,
extras_require={
"tests": TESTS_REQUIRE,
},
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 :: Mozilla Public License 2.0 (MPL 2.0)",
],
)