view python/pydc/setup.py @ 32:2089026debae

- allowing 'None' as arg for pydc.load, effectively resulting in dlLoadLibrary(NULL), which is own process
author Tassilo Philipp
date Sat, 11 Apr 2020 18:02:33 +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)
'''
)