forked from equinor/semeio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·59 lines (54 loc) · 1.72 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
#!/usr/bin/env python
import os
from setuptools import setup
def package_files(directory):
paths = []
for (path, _, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
job_files = package_files("semeio/jobs/configs") + package_files("semeio/jobs/scripts")
setup(
name="semeio",
use_scm_version={"write_to": "semeio/version.py"},
author="Software Innovation Bergen, Equinor ASA",
author_email="[email protected]",
url="https://github.com/equinor/semeio",
description="Jobs and workflow jobs for Ert.",
packages=[
"semeio",
"semeio.hook_implementations",
"semeio.jobs.correlated_observations_scaling",
],
entry_points={
"ert": [
"semeio_jobs = semeio.hook_implementations.jobs",
]
},
license="GPL-3.0",
platforms="any",
classifiers=[
"Development Status :: 1 - Planning",
"Environment :: Plugins",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
"configsuite",
"numpy",
"pandas",
"six",
"scipy",
],
setup_requires=["pytest-runner", "setuptools_scm"],
tests_require=["pytest", "mock"],
test_suite="tests",
package_data={"": job_files},
include_package_data=True,
)