aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/advanced/cython (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build,python: Build Python bindings without distutilsBen Greiner2024-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | * m4/python.m4: Add python3.12 and 3.11 as valid interpreters, remove EOL 3.4, 3.5, 3.7 (keep 3.6 because some distributions still ship and maintain it). * lang/python/Makefile.am (clean-local): Remove dist and gpg.egg-info created by Python 3.9+ on make install. * lang/python/setup.py.in: switch from distutils to setuptools where possible, remove obsolete and deprecated -py3 option of swig, add classifiers up to 3.12, remove 3.4, 3.5, 3.7. * lang/python/doc/src/gpgme-python-howto.org: replace distutils with setuptools * lang/python/examples/howto/advanced/cython/setup.py: replace distutils with setuptools -- This fixes building the Python bindings for Python 3.12 where distutils has been removed. Based on D545
* python: advanced howto exampleBen McGinnes2018-12-121-0/+1
| | | | * Added Cython requirement to this advanced use case.
* docs: python bindingsBen McGinnes2018-09-172-4/+14
| | | | | * Updated the Cython example code slightly, along with the corresponding explanation.
* docs: cython sanitizedBen McGinnes2018-09-161-2997/+0
| | | | | | | * Sanitized the shell command examples of extraneous whitespace. * Removed keycount.c as sanitising it is pointless and it will be generated by Cython when the example is followed. * Regenerated the .texi version.
* docs: python bindings howtoBen McGinnes2018-09-163-0/+3019
* Added new advanced section with an example of using the Python bindings with CPython code compiled back to C code using Cython. * Though it may seem a bit counter-intuitive to use the bindings just to go back to C via a different route, this is not actually stupid. * Added examples/howto/advanced/cython/ directory. * Added keycount.pyx, setup.py and the keycount.c file which the first two generated with Cython. Not including the .so and .o files from the build. * Exported the .texi version of the howto for the main docs.