-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (48 loc) · 1.31 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
from setuptools import setup, Extension
from io import open
import numpy
requirements = [
'numpy',
]
setup(
name = 'periodicitytest',
description = 'a highly specific test for periodicity of time series based on folding',
long_description = open('README.md', encoding='utf8').read(),
author = 'Gerrit Ansmann',
author_email = '[email protected]',
url = 'http://github.com/neurophysik/periodicitytest',
packages = ['periodicitytest'],
install_requires = requirements,
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: C',
'Topic :: Scientific/Engineering :: Mathematics',
],
ext_modules = [Extension(
"periodicitytest._periodicitytest",
sources = [
"periodicitytest/basics_python.c",
"periodicitytest/extremacounting.c",
"periodicitytest/interval.c",
"periodicitytest/search.c",
"periodicitytest/_periodicitytest.c",
],
extra_compile_args = [
"-D PYTHON",
"-fPIC",
"-Wall",
"--pedantic",
"-std=c11",
"-Wno-unknown-pragmas",
"-Wno-unused-function",
],
extra_link_args = ["-lm"],
include_dirs = [numpy.get_include()]
)],
verbose = True
)