view python/pydc/setup.py @ 63:9b6cdffd30dd

- further fixes of inccorect overflow errors for int (and long on LLP64 systems) * prev commit had bugs * added overflow tests for also int, long, long long (for both, lp64 and llp64) - while at it, fixing a reference leak when not using python with utf8 caching
author Tassilo Philipp
date Sun, 19 May 2024 15:33:18 +0200
parents 4a9f6c7c09c1
children 6c494834e52a
line wrap: on
line source

from distutils.core import setup, Extension

pydcext = Extension('pydc',
  sources   = ['pydc.c']
, libraries = ['dyncall_s','dyncallback_s','dynload_s']
)

setup(
  name             = 'pydc'
, version          = '1.4.1'
, 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]
, description      = 'dynamic call bindings for python'
, long_description = '''
library allowing to call arbitrary C library functions dynamically,
based on a single call kernel (so no interface generation used/required);
also has callback support and helper functions to load shared objects and
lookup symbols by name (including from running process itself)
'''
, package_data     = {'': ['pydc.pyi']}
, packages         = ['']
)