forked from automl/auto-sklearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (47 loc) · 1.29 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
# -*- encoding: utf-8 -*-
import setuptools
from setuptools.extension import Extension
import numpy as np
from Cython.Build import cythonize
extensions = cythonize(
[Extension('autosklearn.data.competition_c_functions',
sources=['autosklearn/data/competition_c_functions.pyx'],
language='c',
include_dirs=[np.get_include()])
])
requirements = [
"setuptools",
"nose",
"six",
"Cython",
"numpy>=1.9.0",
"scipy>=0.14.1",
"scikit-learn>=0.19,<0.20",
"lockfile",
"joblib",
"psutil",
"pyyaml",
"liac-arff",
"pandas",
"ConfigSpace>=0.4.0,<0.5",
"pynisher>=0.4,<0.5",
"pyrfr>=0.6.1,<0.8",
"smac>=0.8,<0.9"
]
with open("autosklearn/__version__.py") as fh:
version = fh.readlines()[-1].split()[-1].strip("\"'")
setuptools.setup(
name='auto-sklearn',
description='Automated machine learning.',
version=version,
ext_modules=extensions,
packages=setuptools.find_packages(exclude=['test']),
install_requires=requirements,
test_suite='nose.collector',
include_package_data=True,
author='Matthias Feurer',
author_email='feurerm@informatik.uni-freiburg.de',
license='BSD',
platforms=['Linux'],
classifiers=[],
url='https://automl.github.io/auto-sklearn')