-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
28 lines (24 loc) · 807 Bytes
/
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
#!/usr/bin/python
import sys
from setuptools import setup, Extension
if sys.platform == 'linux2':
define_macros = [ ('HAVE_AIO', None),
]
libraries = [ 'rt' ]
else:
define_macros = []
libraries = []
setup(name='ddar',
version='1.0',
author='Robie Basak',
author_email='[email protected]',
url='http://www.synctus.com/ddar',
packages=['synctus'],
scripts=['ddar'],
ext_modules=[ Extension('synctus._dds', ['scan.c', 'rabin.c',
'synctus/ddsmodule.c'],
include_dirs=['.'],
libraries=libraries,
define_macros=define_macros) ],
install_requires=['protobuf'])
# vim: set ts=8 sts=4 sw=4 ai et :