/
setup.py
32 lines (30 loc) · 1.1 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
from setuptools import setup
from setuptools.extension import Extension
import numpy
extensions = [
Extension(
name="SeqSeg.SeqSeg", # name/path of generated .so file
sources=["SeqSeg/SeqSeg.c"], # cython generated c file
include_dirs = [numpy.get_include()], # gives access to numpy funcs inside cython code
libraries = ["gsl", "gslcblas"],
extra_compile_args = ['-Wno-deprecated']),
]
setup(name='SeqSeg',
version='1.0',
description='Package for binary / sequential signal segmentation using Bayesian methods',
author='Paulo Hubert',
author_email='paulo.hubert@gmail.com',
url='http://github.com/paulohubert/bayeseg/',
keywords = 'changepoint signal segmentation bayesian',
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 3.6'
],
include_package_data=True,
packages=['SeqSeg',
'OceanPod',
],
install_requires=['numpy>=1.14.0', 'scipy>=1.0.0'],
ext_modules = extensions,
)