-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
107 lines (98 loc) · 4.26 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import os
import setuptools
import cave
with open('requirements.txt') as fh:
requirements = fh.read()
requirements = requirements.split('\n')
requirements = [requirement.strip() for requirement in requirements if not "http" in requirement]
with open("cave/__version__.py") as fh:
version = fh.readlines()[-1].split()[-1].strip("\"'")
WEB_FILES_LOCATION = os.path.join(os.path.dirname(__file__), 'cave/html/web_files')
setuptools.setup(
name="cave",
version=version,
packages=['cave',
'cave.analyzer',
'cave.analyzer.apt',
'cave.analyzer.budgets',
'cave.analyzer.configurator',
'cave.analyzer.feature_analysis',
'cave.analyzer.parameter_importance',
'cave.analyzer.performance',
'cave.reader',
'cave.reader.conversion',
'cave.html',
'cave.plot',
'cave.plot.parallel_plot',
'cave.utils',
'cave.utils.apt_helpers'
],
# For info about package_data, please check MANIFEST.in
# (https://stackoverflow.com/questions/7522250/how-to-include-package-data-with-setuptools-distribute)
package_data={
'cave/plot': [
'cave/plot/mpl_style'
],
'cave/plot/parallel_plot': [
'cave/plot/parallel_plot/parallel_selection_tool.ts',
'cave/plot/parallel_plot/parallel_reset.ts',
],
'cave/utils': [
'cave/utils/options/default_analysis_options.ini',
],
'cave/html': [
'cave/html/web_files/css/accordion.css',
'cave/html/web_files/css/back-to-top.css',
'cave/html/web_files/css/bokeh-1.1.0.min.css',
'cave/html/web_files/css/bokeh-tables-1.1.0.min.css',
'cave/html/web_files/css/bokeh-widgets-1.1.0.min.css',
'cave/html/web_files/css/global.css',
'cave/html/web_files/css/help-tip.css',
'cave/html/web_files/css/lightbox.min.css',
'cave/html/web_files/css/table.css',
'cave/html/web_files/font/fontello/config.json',
'cave/html/web_files/font/fontello/fontello.eot',
'cave/html/web_files/font/fontello/fontello.svg',
'cave/html/web_files/font/fontello/fontello.ttf',
'cave/html/web_files/font/fontello/fontello.woff',
'cave/html/web_files/font/fontello/fontello.woff2',
'cave/html/web_files/images/close.png',
'cave/html/web_files/images/COSEAL_small.png',
'cave/html/web_files/images/loading.png',
'cave/html/web_files/images/ml4aad.png',
'cave/html/web_files/images/next.png',
'cave/html/web_files/images/prev.png',
'cave/html/web_files/images/CAVE_logo.png',
'cave/html/web_files/images/SMAC_logo.png',
'cave/html/web_files/images/BOHB_logo.png',
'cave/html/web_files/images/automl-logo.png',
'cave/html/web_files/images/close.png',
'cave/html/web_files/js/back-to-top.js',
'cave/html/web_files/css/bokeh-1.1.0.min.js',
'cave/html/web_files/css/bokeh-tables-1.1.0.min.js',
'cave/html/web_files/css/bokeh-widgets-1.1.0.min.js',
'cave/html/web_files/js/lightbox-plus-jquery.min.js',
]},
include_package_data=True,
author=cave.AUTHORS,
author_email="[email protected]",
description=("CAVE, an analyzing tool for configuration optimizers"),
license="3-clause BSD",
keywords="machine learning algorithm configuration hyperparameter "
"optimization tuning analyzing analysis visualization",
url="https://github.com/automl/CAVE",
entry_points={'console_scripts': ['explore-cave=cave.cave_cli:entry_point',
'cave=cave.cave_cli:entry_point']},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: BSD License",
],
platforms=['Linux'],
install_requires=requirements,
tests_require=['mock',
'nose'],
test_suite='nose.collector'
)