comparison python/pydc/setup.py @ 4:4c5019f00f5b

- python binding cleanup
author cslag
date Tue, 22 Mar 2016 00:55:15 +0100
parents 0cfcc391201f
children 681db37a300c
comparison
equal deleted inserted replaced
3:f5d4d5c2f750 4:4c5019f00f5b
1 from distutils.core import setup, Extension 1 from distutils.core import setup, Extension
2
3 dctop = '../../..'
4 2
5 pydcext = Extension('pydcext', 3 pydcext = Extension('pydcext',
6 sources = ['pydcext.c'] 4 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'] 5 ,libraries=['dyncall_s','dynload_s']
10 ) 6 )
11 7
12 setup( 8 setup(
13 name='pydc' 9 name = 'pydc'
14 , version='0.1' 10 , version = '0.9'
15 , author = 'Daniel Adler' 11 , author = 'Daniel Adler'
16 , author_email = 'dadler@uni-goettingen.de' 12 , author_email = 'dadler@dyncall.org'
17 , maintainer = 'Daniel Adler' 13 , maintainer = 'Daniel Adler'
18 , maintainer_email = 'dadler@uni-goettingen.de' 14 , maintainer_email = 'dadler@dyncall.org'
19 , url = 'http://dyncall.org' 15 , url = 'http://www.dyncall.org'
20 , description = 'dynamic call bindings for python' 16 , description = 'dynamic call bindings for python'
21 , long_description = ''' 17 , long_description = '''
22 dynamic call library allows to call arbitrary library functions 18 dynamic call library allows to call arbitrary C library functions
23 with a single call code (written in assembly) 19 with a single call code (written in assembly)
24 ''' 20 '''
25 , download_url = 'http://dyncall.org/download' 21 , download_url = 'http://www.dyncall.org/download'
26 , classifiers=[] 22 , classifiers=[]
27 #, packages=['pydc'] 23 #, packages=['pydc']
28 #, package_dir['dir'] 24 #, package_dir['dir']
29 , ext_modules = [pydcext] 25 , ext_modules = [pydcext]
30 , py_modules = ['pydc'] 26 , py_modules = ['pydc']