view python/pydc/setup.py @ 2:a27ef6fdc275

- assume dyncall dir is next to maintainers'
author cslag
date Thu, 31 Dec 2015 20:20:18 +0100
parents 0cfcc391201f
children 4c5019f00f5b
line wrap: on
line source

from distutils.core import setup, Extension

dctop = '../../..'

pydcext = Extension('pydcext',
  sources = ['pydcext.c']
#,include_dirs=[ "/".join([dctop,'dyncall']), "/".join([dctop,'dynload']) ]
#,library_dirs=[ "/".join([dctop,'dyncall']), "/".join([dctop,'dynload']) ]
,libraries=['dyncall_s','dynload_s']
)

setup(
  name='pydc'
, version='0.1'
, author = 'Daniel Adler'
, author_email = 'dadler@uni-goettingen.de'
, maintainer = 'Daniel Adler'
, maintainer_email = 'dadler@uni-goettingen.de'
, url = 'http://dyncall.org'
, description = 'dynamic call bindings for python'
, long_description = '''
dynamic call library allows to call arbitrary library functions
with a single call code (written in assembly)
'''
, download_url = 'http://dyncall.org/download'
, classifiers=[]
#, packages=['pydc']
#, package_dir['dir']
, ext_modules = [pydcext]
, py_modules = ['pydc']
)