forked from lacava/few
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (59 loc) · 2.43 KB
/
Copy pathsetup.py
File metadata and controls
64 lines (59 loc) · 2.43 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import eigency
def calculate_version():
initpy = open('few/_version.py').read().split('\n')
version = list(filter(lambda x: '__version__' in x, initpy))[0].split('\'')[1]
return version
package_version = calculate_version()
# few_lib = Extension(name='few_lib',
# sources=['few/lib/epsilon_lexicase.cpp'],
# include_dirs = ['/usr/include/eigen3'],
# depends = ['Eigen/Dense.h'],
# extra_compile_args = ['-std=c++0x']
# )
setup(
name='FEW',
version=package_version,
author='William La Cava',
author_email='lacava@upenn.edu',
packages=find_packages(),
url='https://github.com/lacava/few',
download_url='https://github.com/lacava/few/releases/tag/'+package_version,
license='GNU/GPLv3',
entry_points={'console_scripts': ['few=few:main', ]},
test_suite='nose.collector',
tests_require=['nose'],
description=('Feature Engineering Wrapper'),
long_description='''
A feature engineering wrapper for scikitlearn based on genetic programming.
Contact:
===
e-mail: lacava@upenn.edu
This project is hosted at https://github.com/lacava/few
''',
zip_safe=True,
install_requires=['numpy', 'scipy', 'pandas', 'scikit-learn',
'update_checker', 'tqdm', 'joblib','DistanceClassifier',
'scikit-mdr','Cython', 'eigency'],
setup_requires=['eigency'],
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
# 'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3',
# 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Artificial Intelligence'
],
keywords=['data science', 'machine learning', 'classification'],
ext_modules=cythonize([Extension(name="few_lib",
sources=["few/lib/few_lib.pyx"],
include_dirs=[".", "./few/lib"] +
eigency.get_includes(),
extra_compile_args = ['-std=c++0x'])],
language="c++")
)