view python/pydc/setup.py @ 34:2682a627168c

- breaking changes: * restrict 'Z' conversions to immutable types * restrict 'p' to mutable types (and handles)
author Tassilo Philipp
date Sun, 12 Apr 2020 19:37:37 +0200
parents edbbd467f50a
children 8c8f848131c6
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.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)
'''
)