/
setup.py
69 lines (61 loc) · 1.93 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
from glob import glob
import os
import sys
import setuptools
if sys.version_info[:2] < (3, 8):
error = (
"MFNetsSurrogates requires Python 3.8 or later (%d.%d detected). \n"
)
sys.stderr.write(error + "\n")
sys.exit(1)
platforms = ["Linux", "Mac OSX"]
keywords = [
"Networks",
"Graph Theory",
"Mathematics",
"Uncertainty Quantification",
"Multifidelity Modeling",
]
url = "https://www.alexgorodetsky.com/mfnets_surrogate_code/net.html"
project_urls = {
# "Bug Tracker": "https://github.com/networkx/networkx/issues",
"Documentation": "https://www.alexgorodetsky.com/mfnets_surrogate_code/net.html",
"Source Code": "https://github.com/goroda/MFNetsSurrogates",
}
with open("mfnets_surrogates/__init__.py") as fid:
for line in fid:
if line.startswith("__version__"):
version = line.strip().split()[-1][1:-1]
break
packages = [
"mfnets_surrogates",
]
# add the tests subpackage(s)
package_data = {
"mfnets_surrogates": ["tests/*.py"],
}
with open("README.org") as fh:
long_description = fh.read()
setuptools.setup(
name="mfnets_surrogates",
version=version,
author="Alex A. Gorodetsky",
author_email="goroda@umich.edu",
description="A set of routines to enable construction of completely unstructured multifidelity surrogate models for fusing multiple information sources",
long_description=long_description,
url="https://github.com/goroda/MFNetsSurrogates",
project_urls=project_urls,
keywords=keywords,
platforms=platforms,
python_requires='>=3.6',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=packages,
package_data=package_data,
setup_requires=[],
install_requires=['numpy >= 1.14','networkx'], # 'gslearn', 'pyro-ppl', 'torch', scipy, pandas],
license='MIT',
)