forked from equinor/ert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (72 loc) · 2.04 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
72
73
74
75
76
77
78
79
from setuptools import setup, find_packages
import os
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
return paths
extra_files = package_files("ert_gui/resources/")
logging_configuration = package_files("ert_logging/")
setup(
name="ert",
author="Equinor ASA",
author_email="[email protected]",
use_scm_version={"root": ".", "write_to": "ert_shared/version.py"},
entry_points={
"console_scripts": [
"ert3=ert3.console:main",
"ert=ert_shared.main:main",
]
},
packages=find_packages(exclude=["tests*"]),
package_data={"ert_gui": extra_files, "ert_logging": logging_configuration},
include_package_data=True,
license="Open Source",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=[
"async-exit-stack; python_version < '3.7'",
"async-generator; python_version < '3.7'",
"aiofiles",
"alembic",
"ansicolors==1.1.8",
"cloudevents",
"cloudpickle",
"console-progressbar==1.1.2",
"decorator",
"deprecation",
"equinor-libres >= 10.0.0b1",
"fastapi",
"graphlib_backport; python_version < '3.9'",
"jinja2",
"matplotlib",
"numpy",
"pandas",
"pluggy",
"pydantic >= 1.8",
"pyrsistent",
"PyQt5",
"pyyaml",
"qtpy",
"scipy",
"semeio",
"sqlalchemy",
"typing-extensions; python_version < '3.8'",
"websockets",
"python-dateutil",
"async_generator",
"uvicorn",
"prefect",
"dask_jobqueue",
],
extras_require={
"storage": [
"ert-storage==0.1.4",
],
},
zip_safe=False,
tests_require=["pytest", "mock"],
test_suite="tests",
setup_requires=["pytest-runner", "setuptools_scm"],
)