-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy pathsetup.py
92 lines (84 loc) · 2.79 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
from setuptools import setup, find_packages
def get_version():
"""Get the current version number for the library
Returns
-------
String
Of the form "<major>.<minor>.<micro>", in which "major", "minor" and "micro" are numbers"""
with open("hyperparameter_hunter/VERSION") as f:
return f.read().strip()
def readme():
"""Get the content of the library's readme file
Returns
-------
String
The content of the "README.md" file located in the project's root directory"""
with open("README.md") as f:
return f.read()
setup(
name="hyperparameter_hunter",
version=get_version(),
description=(
"Easy hyperparameter optimization and automatic result "
"saving across machine learning algorithms and libraries"
),
long_description=readme(),
long_description_content_type="text/markdown",
keywords=(
"hyperparameter tuning optimization machine learning "
"artificial intelligence neural network keras "
"scikit-learn xgboost catboost lightgbm rgf"
),
url="https://github.com/HunterMcGushion/hyperparameter_hunter",
author="Hunter McGushion",
author_email="hunter@mcgushion.com",
license="MIT",
packages=find_packages(),
install_requires=[
"joblib",
"nbconvert",
"nbformat",
"numpy",
"pandas",
"scikit-learn<=0.22.2",
"scikit-optimize",
"scipy",
"simplejson",
"wrapt",
],
extras_require={
"dev": ["pre-commit"],
"docs": ["numpydoc", "hyperparameter-hunter", "keras"],
"travis": [
"pytest>=4.6",
"pytest-cov",
"hyperparameter-hunter",
"pyyaml",
"xgboost",
"coveralls",
"codecov",
],
},
include_package_data=True,
zip_safe=False,
tests_require=["pytest>=4.6", "pytest-cov"],
classifiers=(
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Utilities",
"Topic :: Desktop Environment :: File Managers",
"Topic :: Education",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
),
)