forked from hbldh/skboost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
87 lines (73 loc) · 2.3 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
# -*- coding: utf-8 -*-
"""
:mod:`setup.py`
===============
.. module:: setup
:platform: Unix, Windows
:synopsis: The Python Packaging setup file for MilBoost.
.. moduleauthor:: hbldh <[email protected]>
Created on 2015-11-05
"""
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
import re
import os
from codecs import open
from setuptools import setup, find_packages, Extension
import numpy
basedir = os.path.dirname(os.path.abspath(__file__))
def read(f):
return open(f, encoding='utf-8').read()
with open('skboost/version.py', 'r') as fd:
version = re.search(
'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='skboost',
version=version,
author='Henrik Blidh',
author_email='[email protected]',
url='https://github.com/hbldh/skboost',
description="Boosting Algorithms compatible with scikit-learn",
long_description=read('README.md'),
license='MIT',
keywords=['Machine Learning', 'Boosting'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: MIT',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=find_packages(exclude=['tests', 'scripts']),
package_data={
'skboost.stumps.ext': ['src/*', ],
'skboost.datasets.musk': ['clean*.*', ],
},
install_requires=[
'numpy',
'scipy',
'scikit-learn',
'six',
'psutil',
'futures;python_version<"3.4"',
],
dependency_links=[],
ext_package='skboost.stumps.ext',
ext_modules=[
Extension('classifiers',
sources=['skboost/stumps/ext/src/classifiers.c'],
include_dirs=[numpy.get_include(),
'skboost/stumps/ext/src/'])
],
entry_points={}
)