annotate python/pydc/setup.py @ 3:f5d4d5c2f750

- gemspec fix
author cslag
date Thu, 31 Dec 2015 20:24:53 +0100
parents 0cfcc391201f
children 4c5019f00f5b
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 dctop = '../../..'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 pydcext = Extension('pydcext',
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 sources = ['pydcext.c']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 #,include_dirs=[ "/".join([dctop,'dyncall']), "/".join([dctop,'dynload']) ]
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 #,library_dirs=[ "/".join([dctop,'dyncall']), "/".join([dctop,'dynload']) ]
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 ,libraries=['dyncall_s','dynload_s']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 setup(
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 name='pydc'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 , version='0.1'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 , author = 'Daniel Adler'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 , author_email = 'dadler@uni-goettingen.de'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 , maintainer = 'Daniel Adler'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 , maintainer_email = 'dadler@uni-goettingen.de'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 , url = 'http://dyncall.org'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 , description = 'dynamic call bindings for python'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 , long_description = '''
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 dynamic call library allows to call arbitrary library functions
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 with a single call code (written in assembly)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 '''
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 , download_url = 'http://dyncall.org/download'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 , classifiers=[]
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 #, packages=['pydc']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 #, package_dir['dir']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 , ext_modules = [pydcext]
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 , py_modules = ['pydc']
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32