-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (53 loc) · 2.08 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
56
57
from distutils.core import setup, Extension
btree_ext = Extension('abtree_c',
sources = [
'pywrap.cpp',
'abtree/serial.cpp',
'abtree/file_bstore.cpp',
'abtree/file_io.cpp',
'abtree/io.cpp',
'abtree/hilbert.c',
'tiny_boost/libs/python/src/converter/arg_to_python_base.cpp',
'tiny_boost/libs/python/src/converter/builtin_converters.cpp',
'tiny_boost/libs/python/src/converter/from_python.cpp',
'tiny_boost/libs/python/src/converter/registry.cpp',
'tiny_boost/libs/python/src/converter/type_id.cpp',
'tiny_boost/libs/python/src/dict.cpp',
'tiny_boost/libs/python/src/errors.cpp',
'tiny_boost/libs/python/src/exec.cpp',
'tiny_boost/libs/python/src/import.cpp',
'tiny_boost/libs/python/src/list.cpp',
'tiny_boost/libs/python/src/long.cpp',
'tiny_boost/libs/python/src/module.cpp',
'tiny_boost/libs/python/src/numeric.cpp',
'tiny_boost/libs/python/src/object/class.cpp',
'tiny_boost/libs/python/src/object/enum.cpp',
'tiny_boost/libs/python/src/object/function.cpp',
'tiny_boost/libs/python/src/object/function_doc_signature.cpp',
'tiny_boost/libs/python/src/object/inheritance.cpp',
'tiny_boost/libs/python/src/object/iterator.cpp',
'tiny_boost/libs/python/src/object/life_support.cpp',
'tiny_boost/libs/python/src/object/pickle_support.cpp',
'tiny_boost/libs/python/src/object/stl_iterator.cpp',
'tiny_boost/libs/python/src/object_operators.cpp',
'tiny_boost/libs/python/src/object_protocol.cpp',
'tiny_boost/libs/python/src/slice.cpp',
'tiny_boost/libs/python/src/str.cpp',
'tiny_boost/libs/python/src/tuple.cpp',
'tiny_boost/libs/python/src/wrapper.cpp',
'tiny_boost/libs/smart_ptr/src/sp_collector.cpp',
'tiny_boost/libs/smart_ptr/src/sp_debug_hooks.cpp',
],
libraries=['pthread', 'm', 'bz2'],
include_dirs=['tiny_boost', '.']
)
setup(
name = 'abtree',
version = '1.0.1',
description = 'Make this reasonable',
author = 'Jeremy Bruestle',
author_email = '[email protected]',
package_dir = {'': 'python'},
packages = ['abtree', 'stat_tree'],
ext_modules = [btree_ext]
)