-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (51 loc) · 1.81 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
#!/usr/bin/python
"""string_kernel setup script.
Author: Federico Tomasi
Copyright (c) 2016, Federico Tomasi.
Licensed under the FreeBSD license (see LICENSE.txt).
"""
from setuptools import setup, Extension
import numpy as np
# Package Version
# sk_module = Extension(
# 'string_kernel.core.src.string_kernel',
# sources=['string_kernel/core/src/string_kernel.cpp'])
ssk_module = Extension(
'string_kernel.core.src.sum_string_kernel',
sources=['string_kernel/core/src/sum_string_kernel.cpp'],
include_dirs=[np.get_include()])
setup(
name='string_kernel',
version='0.1a',
description=(''),
long_description=open('README.md').read(),
author='Federico Tomasi',
author_email='federico.tomasi@dibris.unige.it',
maintainer='Federico Tomasi',
maintainer_email='federico.tomasi@dibris.unige.it',
url='https://github.com/slipguru/icing',
download_url='https://github.com/slipguru/icing/tarball/0.1a',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Programming Language :: Python',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'
],
license='FreeBSD',
packages=['string_kernel', 'string_kernel.core', 'string_kernel.core.src',
],
requires=['numpy (>=1.10.1)',
'scipy (>=0.16.1)',
'sklearn (>=0.17)'],
# scripts=['scripts/ici_run.py', 'scripts/ici_analysis.py'],
# ext_modules=[sk_module, ssk_module]
ext_modules=[ssk_module],
include_dirs=[np.get_include()]
)