-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
70 lines (65 loc) · 2.2 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
from setuptools import setup
import os
v_temp = {}
with open("gsa_framework/version.py") as fp:
exec(fp.read(), v_temp)
version = ".".join((str(x) for x in v_temp["version"]))
packages = []
root_dir = os.path.dirname(".")
if root_dir:
os.chdir(root_dir)
# Probably should be changed, __init__.py is no longer required for Python 3
for dirpath, dirnames, filenames in os.walk("gsa_framework"):
# Ignore dirnames that start with '.'
if "__init__.py" in filenames:
pkg = dirpath.replace(os.path.sep, ".")
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, ".")
packages.append(pkg)
setup(
name="gsa_framework",
version=version,
# packages=[
# "gsa_framework",
# "gsa_framework.sampling",
# "gsa_framework.sampling.get_samples",
# "gsa_framework.sensitivity_methods",
# ],
author="Aleksanda Kim",
author_email="[email protected]",
license="BSD-3-Clause",
package_data={
"gsa_framework": [os.path.join("sampling", "data", "directions.npy")]
},
install_requires=[
"h5py",
"numpy",
"plotly",
"scikit-learn",
"scipy",
"xgboost",
"pre-commit",
"sphinxcontrib-bibtex",
"jenkspy",
],
url="https://github.com/aleksandra-kim/gsa_framework",
long_description_content_type="text/markdown",
long_description=open("README.rst").read(),
description="Generic framework for global sensitivity analysis",
classifiers=[
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
],
)