forked from equinor/flownet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (67 loc) · 2.02 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
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
REQUIREMENTS = [
"configsuite>=0.6",
"cwrap>=1.6",
"ecl2df>=0.8.1",
"fmu-ensemble>=1.2",
"jinja2>=2.10",
"matplotlib>=3.1",
"numpy>=1.17",
"opm>=2020.10",
"pandas~=1.0",
"pyarrow>=0.14",
"pykrige>=1.5",
"pyscal~=0.6.1",
"pyvista>=0.23",
"pyyaml>=5.2",
"scikit-learn>=0.22",
"scipy>=1.4",
"webviz-config>=0.0.42",
"webviz-config-equinor>=0.0.9",
"webviz-subsurface>=0.0.24",
]
TEST_REQUIRES = [
"black",
"mypy>=0.761",
"pylint>=2.3",
"pytest>=5.3",
"pytest-cov>=2.8",
"sphinx",
"sphinx-rtd-theme",
]
setup(
name="flownet",
install_requires=REQUIREMENTS,
tests_require=TEST_REQUIRES,
setup_requires=["setuptools_scm~=3.2"],
python_requires="~=3.6",
extras_require={"tests": TEST_REQUIRES},
description="Simplified training of reservoir simulation models",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/equinor/flownet",
author="R&T Equinor",
use_scm_version=True,
package_dir={"": "src"},
packages=find_packages("src"),
package_data={"flownet": ["templates/*", "static/*"]},
entry_points={
"console_scripts": [
"flownet=flownet._command_line:main",
"flownet_render_realization=flownet.realization:render_realization",
"flownet_delete_simulation_output=flownet.ahm:delete_simulation_output",
"flownet_save_iteration_parameters=flownet.ahm:save_iteration_parameters",
"flownet_save_iteration_analytics=flownet.ahm:save_iteration_analytics",
]
},
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
)