forked from fact-project/pyfact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (51 loc) · 1.63 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
from distutils.core import setup, Extension
dimc_module = Extension('fact.dim.dimc',
define_macros = [('PROTOCOL', '1'),
('unix', None),
('linux', None),
('MIPSEL', None), ],
include_dirs = ['./fact/dim/dim_src/include'],
sources = [
'./fact/dim/dim_src/wrapper/dimmodule.cpp',
'./fact/dim/dim_src/wrapper/pydim_utils.cpp',
'./fact/dim/dim_src/src/dis.c',
'./fact/dim/dim_src/src/conn_handler.c',
'./fact/dim/dim_src/src/dtq.c',
'./fact/dim/dim_src/src/copy_swap.c',
'./fact/dim/dim_src/src/open_dns.c',
'./fact/dim/dim_src/src/dna.c',
'./fact/dim/dim_src/src/tcpip.c',
'./fact/dim/dim_src/src/dic.c',
'./fact/dim/dim_src/src/hash.c',
'./fact/dim/dim_src/src/utilities.c',
'./fact/dim/dim_src/src/sll.c',
'./fact/dim/dim_src/src/dll.c',
'./fact/dim/dim_src/src/swap.c',
'./fact/dim/dim_src/src/dim_thr.c',
]
)
setup(
name='fact',
version='0.2',
description='a module containing usefull methods for working with fact',
url='http://bitbucket.org/MaxNoe/pyfact',
author='Maximilian Noethe, Dominik Neise',
author_email='[email protected]',
license='MIT',
packages=['fact',
'fact.plotting',
'fact.dim',
'fact.slowdata'
],
package_data={'': ['resources/*']},
install_requires=[
'numpy',
'scipy',
'matplotlib>=1.4',
'python-dateutil',
'pymongo>=2.7',
],
ext_modules=[dimc_module],
scripts=[],
zip_safe=False
)