-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (43 loc) · 1.66 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
DISTNAME = 'thresher-py'
DESCRIPTION = 'Find threshold for fine-tuning output from predict_proba'
AUTHOR = 'Oskar Jarczyk'
AUTHOR_EMAIL = '[email protected]'
MAINTAINER = 'Oskar Jarczyk'
MAINTAINER_EMAIL = '[email protected]'
LICENSE = 'MIT'
URL = 'https://github.com/oskar-j/thresher'
VERSION = '0.1.2'
DOWNLOAD_URL = 'https://github.com/oskar-j/thresher/archive/v_01_2.tar.gz'
KEYWORDS = ['Hyper-parameters', 'Finetuning', 'ML', 'Optimization', 'AutoML']
CLASSIFIERS = ['Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
def setup_package():
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
metadata = dict(
name=DISTNAME,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
version=VERSION,
classifiers=CLASSIFIERS,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
url=URL,
download_url=DOWNLOAD_URL,
packages=find_packages(exclude=['*tests*']),
install_requires=['numpy', 'pandas', 'xlrd'])
setup(**metadata)
if __name__ == '__main__':
setup_package()