annotate python/pydc/setup.py @ 61:c5a69c454963 default tip

- allow use of 'None' with 'Z' - bumped version to 1.4 (be in sync current dyncall version)
author Tassilo Philipp
date Mon, 03 Apr 2023 19:06:07 +0200
parents 8e905c0798c7
children
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
46
c21d1c2c84e1 - removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways)
Tassilo Philipp
parents: 45
diff changeset
3 pydcext = Extension('pydc',
c21d1c2c84e1 - removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways)
Tassilo Philipp
parents: 45
diff changeset
4 sources = ['pydc.c']
54
918dab7a6606 - added callback support (comes with some bigger refactoring)
Tassilo Philipp
parents: 53
diff changeset
5 , libraries = ['dyncall_s','dyncallback_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'
61
c5a69c454963 - allow use of 'None' with 'Z'
Tassilo Philipp
parents: 60
diff changeset
10 , version = '1.4.0'
37
8c8f848131c6 - version bump
Tassilo Philipp
parents: 34
diff changeset
11 , author = 'Daniel Adler, Tassilo Philipp'
8c8f848131c6 - version bump
Tassilo Philipp
parents: 34
diff changeset
12 , author_email = 'dadler@dyncall.org, tphilip@dyncall.org'
8c8f848131c6 - version bump
Tassilo Philipp
parents: 34
diff changeset
13 , maintainer = 'Daniel Adler, Tassilo Philipp'
8c8f848131c6 - version bump
Tassilo Philipp
parents: 34
diff changeset
14 , maintainer_email = 'dadler@dyncall.org, tphilip@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]
4
4c5019f00f5b - python binding cleanup
cslag
parents: 0
diff changeset
21 , description = 'dynamic call bindings for python'
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 , long_description = '''
46
c21d1c2c84e1 - removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways)
Tassilo Philipp
parents: 45
diff changeset
23 library allowing to call arbitrary C library functions dynamically,
54
918dab7a6606 - added callback support (comes with some bigger refactoring)
Tassilo Philipp
parents: 53
diff changeset
24 based on a single call kernel (so no interface generation used/required);
918dab7a6606 - added callback support (comes with some bigger refactoring)
Tassilo Philipp
parents: 53
diff changeset
25 also has callback support and helper functions to load shared objects and
918dab7a6606 - added callback support (comes with some bigger refactoring)
Tassilo Philipp
parents: 53
diff changeset
26 lookup symbols by name (including from running process itself)
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 '''
50
edf5c85de5ac put pyi next to so for mypy to pick it up, directly
Tassilo Philipp
parents: 46
diff changeset
28 , package_data = {'': ['pydc.pyi']}
edf5c85de5ac put pyi next to so for mypy to pick it up, directly
Tassilo Philipp
parents: 46
diff changeset
29 , packages = ['']
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 )
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31