Mercurial > pub > dyncall > bindings
view python/pydc/setup.py @ 29:6cc2b7fc7ea2
bigger pydc update:
- cleanups and refactoring
- python 2 fixes in var conversions (especially w/ respect to int vs long)
- fix to pydc.free() which didn't work at all
- fix to return python bool as actual bool
- test lib covering all conversions (manual verification, though :-/)
author | Tassilo Philipp |
---|---|
date | Wed, 08 Apr 2020 22:17:43 +0200 |
parents | edbbd467f50a |
children | 2682a627168c |
line wrap: on
line source
from distutils.core import setup, Extension pydcext = Extension('pydcext', sources = ['pydcext.c'] , libraries = ['dyncall_s','dynload_s'] ) setup( name = 'pydc' , version = '1.1' , author = 'Daniel Adler' , author_email = 'dadler@dyncall.org' , maintainer = 'Daniel Adler' , maintainer_email = 'dadler@dyncall.org' , url = 'https://www.dyncall.org' , download_url = 'https://www.dyncall.org/download' , classifiers = [] #, packages = ['pydc'] #, package_dir = ['dir'] , ext_modules = [pydcext] , py_modules = ['pydc'] , description = 'dynamic call bindings for python' , long_description = ''' dynamic call library allows to call arbitrary C library functions with a single call code (written in assembly) ''' )