forked from equinor/ert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (48 loc) · 1.41 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
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"},
scripts=["ert_shared/bin/ert"],
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=[
"equinor-libres",
"ansicolors==1.1.8",
"console-progressbar==1.1.2",
"decorator",
"flask",
"gunicorn",
"jinja2",
"matplotlib < 3.2",
"numpy",
"pandas",
"pluggy",
"PyQt5",
"pyyaml",
"qtpy",
"scipy",
"sqlalchemy",
"decorator",
"semeio",
"alembic"
],
zip_safe=False,
tests_require=["pytest", "mock"],
test_suite="tests",
setup_requires=["pytest-runner", "setuptools_scm"],
)