view python/pydc/setup.py @ 43:1086ca649715

- fixed use after free issue with string handling (keeping strings as copy until after call)
author Tassilo Philipp
date Wed, 15 Apr 2020 21:58:13 +0200
parents 8c8f848131c6
children da553362fa7c
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.3'
, author           = 'Daniel Adler, Tassilo Philipp'
, author_email     = 'dadler@dyncall.org, tphilip@dyncall.org'
, maintainer       = 'Daniel Adler, Tassilo Philipp'
, maintainer_email = 'dadler@dyncall.org, tphilip@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)
'''
)