Mercurial > pub > dyncall > bindings
comparison python/pydc/setup.py @ 28:edbbd467f50a
python binding:
- update to dyncall 1.1
- Python 3 support (supports both, Python 2 and 3)
- using the Capsule API over PyCObject, when available
- support for python unicode strings (for both, Python 2 and 3)
- doc cleanup
ruby binding:
- doc cleanup
author | Tassilo Philipp |
---|---|
date | Tue, 07 Apr 2020 21:16:37 +0200 |
parents | 681db37a300c |
children | 2682a627168c |
comparison
equal
deleted
inserted
replaced
27:18e1f1bb1945 | 28:edbbd467f50a |
---|---|
1 from distutils.core import setup, Extension | 1 from distutils.core import setup, Extension |
2 | 2 |
3 pydcext = Extension('pydcext', | 3 pydcext = Extension('pydcext', |
4 sources = ['pydcext.c'] | 4 sources = ['pydcext.c'] |
5 ,libraries=['dyncall_s','dynload_s'] | 5 , libraries = ['dyncall_s','dynload_s'] |
6 ) | 6 ) |
7 | 7 |
8 setup( | 8 setup( |
9 name = 'pydc' | 9 name = 'pydc' |
10 , version = '1.0' | 10 , version = '1.1' |
11 , author = 'Daniel Adler' | 11 , author = 'Daniel Adler' |
12 , author_email = 'dadler@dyncall.org' | 12 , author_email = 'dadler@dyncall.org' |
13 , maintainer = 'Daniel Adler' | 13 , maintainer = 'Daniel Adler' |
14 , maintainer_email = 'dadler@dyncall.org' | 14 , maintainer_email = 'dadler@dyncall.org' |
15 , url = 'http://www.dyncall.org' | 15 , url = 'https://www.dyncall.org' |
16 , download_url = 'https://www.dyncall.org/download' | |
17 , classifiers = [] | |
18 #, packages = ['pydc'] | |
19 #, package_dir = ['dir'] | |
20 , ext_modules = [pydcext] | |
21 , py_modules = ['pydc'] | |
16 , description = 'dynamic call bindings for python' | 22 , description = 'dynamic call bindings for python' |
17 , long_description = ''' | 23 , long_description = ''' |
18 dynamic call library allows to call arbitrary C library functions | 24 dynamic call library allows to call arbitrary C library functions |
19 with a single call code (written in assembly) | 25 with a single call code (written in assembly) |
20 ''' | 26 ''' |
21 , download_url = 'http://www.dyncall.org/download' | |
22 , classifiers=[] | |
23 #, packages=['pydc'] | |
24 #, package_dir['dir'] | |
25 , ext_modules = [pydcext] | |
26 , py_modules = ['pydc'] | |
27 ) | 27 ) |
28 | 28 |