view python/pydc/setup.py @ 50:edf5c85de5ac

put pyi next to so for mypy to pick it up, directly
author Tassilo Philipp
date Sat, 14 Nov 2020 21:18:09 +0100
parents c21d1c2c84e1
children 6387d39ecce2
line wrap: on
line source

from distutils.core import setup, Extension

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

setup(
  name             = 'pydc'
, version          = '1.1.6'
, 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)
'''
, package_data     = {'': ['pydc.pyi']}
, packages         = ['']
)