comparison python/pydc/setup.py @ 54:918dab7a6606

- added callback support (comes with some bigger refactoring) - allow CPython's Py{CObject,Capsule} to be used as 'p'ointers
author Tassilo Philipp
date Tue, 02 Feb 2021 20:42:02 +0100
parents 6387d39ecce2
children 8e905c0798c7
comparison
equal deleted inserted replaced
53:6387d39ecce2 54:918dab7a6606
1 from distutils.core import setup, Extension 1 from distutils.core import setup, Extension
2 2
3 pydcext = Extension('pydc', 3 pydcext = Extension('pydc',
4 sources = ['pydc.c'] 4 sources = ['pydc.c']
5 , libraries = ['dyncall_s','dynload_s'] 5 , libraries = ['dyncall_s','dyncallback_s','dynload_s']
6 ) 6 )
7 7
8 setup( 8 setup(
9 name = 'pydc' 9 name = 'pydc'
10 , version = '1.2.0' 10 , version = '1.2.5'
11 , author = 'Daniel Adler, Tassilo Philipp' 11 , author = 'Daniel Adler, Tassilo Philipp'
12 , author_email = 'dadler@dyncall.org, tphilip@dyncall.org' 12 , author_email = 'dadler@dyncall.org, tphilip@dyncall.org'
13 , maintainer = 'Daniel Adler, Tassilo Philipp' 13 , maintainer = 'Daniel Adler, Tassilo Philipp'
14 , maintainer_email = 'dadler@dyncall.org, tphilip@dyncall.org' 14 , maintainer_email = 'dadler@dyncall.org, tphilip@dyncall.org'
15 , url = 'https://www.dyncall.org' 15 , url = 'https://www.dyncall.org'
19 #, package_dir = ['dir'] 19 #, package_dir = ['dir']
20 , ext_modules = [pydcext] 20 , ext_modules = [pydcext]
21 , description = 'dynamic call bindings for python' 21 , description = 'dynamic call bindings for python'
22 , long_description = ''' 22 , long_description = '''
23 library allowing to call arbitrary C library functions dynamically, 23 library allowing to call arbitrary C library functions dynamically,
24 based on a single call kernel (so no interface generation used/required) 24 based on a single call kernel (so no interface generation used/required);
25 also has callback support and helper functions to load shared objects and
26 lookup symbols by name (including from running process itself)
25 ''' 27 '''
26 , package_data = {'': ['pydc.pyi']} 28 , package_data = {'': ['pydc.pyi']}
27 , packages = [''] 29 , packages = ['']
28 ) 30 )
29 31