forked from maxmarketit/Auto-PyTorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (43 loc) · 1.58 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
import os
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
requirements = []
with open('requirements.txt', 'r') as f:
for line in f:
requirements.append(line.strip())
optional_requirements = []
with open('optional-requirements.txt', 'r') as f:
for line in f:
optional_requirements.append(line.strip())
add_presets = []
for dirname, subdirs, files in os.walk(os.path.join('autoPyTorch', 'core', 'presets')):
add_presets.extend([os.path.join(dirname, f) for f in files])
setuptools.setup(
name="autoPyTorch",
version="0.0.2",
author="AutoML Freiburg",
author_email="[email protected]",
description=("Auto-PyTorch searches neural architectures using BO-HB"),
long_description=long_description,
url="https://github.com/automl/Auto-PyTorch",
long_description_content_type="text/markdown",
license="3-clause BSD",
keywords="machine learning algorithm configuration hyperparameter "
"optimization tuning neural architecture deep learning",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
],
python_requires='>=3',
platforms=['Linux'],
install_requires=requirements,
data_files=[('', add_presets)],
include_package_data=True,
# extras_require=optional_requirements
)