diff python/pydc/setup.py @ 0:0cfcc391201f

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:26:28 +0100
parents
children 4c5019f00f5b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/pydc/setup.py	Thu Mar 19 22:26:28 2015 +0100
@@ -0,0 +1,32 @@
+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']
+)
+