annotate python/pydc/setup.py @ 32:2089026debae

- allowing 'None' as arg for pydc.load, effectively resulting in dlLoadLibrary(NULL), which is own process
author Tassilo Philipp
date Sat, 11 Apr 2020 18:02:33 +0200
parents edbbd467f50a
children 2682a627168c
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',
28
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
4 sources = ['pydcext.c']
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
5 , libraries = ['dyncall_s','dynload_s']
0
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'
28
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
10 , version = '1.1'
4
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'
28
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
15 , url = 'https://www.dyncall.org'
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
16 , download_url = 'https://www.dyncall.org/download'
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
17 , classifiers = []
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
18 #, packages = ['pydc']
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
19 #, package_dir = ['dir']
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
20 , ext_modules = [pydcext]
edbbd467f50a python binding:
Tassilo Philipp
parents: 24
diff changeset
21 , py_modules = ['pydc']
4
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
22 , description = 'dynamic call bindings for python'
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 , long_description = '''
4
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
24 dynamic call library allows to call arbitrary C library functions
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 with a single call code (written in assembly)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 '''
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28