annotate python/pydc/setup.py @ 16:a40084782546

- added support for more return values to python binding - python binding readme update
author cslag
date Sat, 26 Mar 2016 22:31:42 +0100
parents 4c5019f00f5b
children 681db37a300c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 from distutils.core import setup, Extension
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 pydcext = Extension('pydcext',
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 sources = ['pydcext.c']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 ,libraries=['dyncall_s','dynload_s']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 setup(
4
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
9 name = 'pydc'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
10 , version = '0.9'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
11 , author = 'Daniel Adler'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
12 , author_email = 'dadler@dyncall.org'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
13 , maintainer = 'Daniel Adler'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
14 , maintainer_email = 'dadler@dyncall.org'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
15 , url = 'http://www.dyncall.org'
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
16 , description = 'dynamic call bindings for python'
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 , long_description = '''
4
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
18 dynamic call library allows to call arbitrary C library functions
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 with a single call code (written in assembly)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 '''
4
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
21 , download_url = 'http://www.dyncall.org/download'
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 , classifiers=[]
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 #, packages=['pydc']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 #, package_dir['dir']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 , ext_modules = [pydcext]
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 , py_modules = ['pydc']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28