-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (29 loc) · 977 Bytes
/
setup.py
File metadata and controls
34 lines (29 loc) · 977 Bytes
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
#!/usr/bin/env python
from distutils.core import setup, Extension
if __name__ == "__main__":
ckde = Extension(
name='kde.kde',
sources=['kde/kde.c'],
extra_compile_args=['-Wall', '-O3', '-fPIC', '-Werror']
)
setup(
name='kde',
version='0.1',
description=('Multi-dimensional Kernel Density Estimation (KDE)'
' including adaptive bandwidths and C and'
' CUDA implementations for specific cases.'),
author='Sebastian Schoenen, Martin Leuermann',
author_email='schoenen@physik.rwth-aachen.de',
url='https://github.com/icecubeopensource/kde',
install_requires=[
'numexpr',
'numpy',
'scipy',
],
extras_require={'cuda': ['pycuda']},
ext_modules=[ckde],
packages=['kde'],
entry_points={
'console_scripts': ['test_kde.py = kde.test_kde:main']
}
)