0
|
1 from distutils.core import setup, Extension
|
|
2
|
|
3 dctop = '../../..'
|
|
4
|
|
5 pydcext = Extension('pydcext',
|
|
6 sources = ['pydcext.c']
|
|
7 #,include_dirs=[ "/".join([dctop,'dyncall']), "/".join([dctop,'dynload']) ]
|
|
8 #,library_dirs=[ "/".join([dctop,'dyncall']), "/".join([dctop,'dynload']) ]
|
|
9 ,libraries=['dyncall_s','dynload_s']
|
|
10 )
|
|
11
|
|
12 setup(
|
|
13 name='pydc'
|
|
14 , version='0.1'
|
|
15 , author = 'Daniel Adler'
|
|
16 , author_email = 'dadler@uni-goettingen.de'
|
|
17 , maintainer = 'Daniel Adler'
|
|
18 , maintainer_email = 'dadler@uni-goettingen.de'
|
|
19 , url = 'http://dyncall.org'
|
|
20 , description = 'dynamic call bindings for python'
|
|
21 , long_description = '''
|
|
22 dynamic call library allows to call arbitrary library functions
|
|
23 with a single call code (written in assembly)
|
|
24 '''
|
|
25 , download_url = 'http://dyncall.org/download'
|
|
26 , classifiers=[]
|
|
27 #, packages=['pydc']
|
|
28 #, package_dir['dir']
|
|
29 , ext_modules = [pydcext]
|
|
30 , py_modules = ['pydc']
|
|
31 )
|
|
32
|