docs: python bindings howto
authorBen McGinnes <ben@adversary.org>
Sun, 16 Sep 2018 03:48:12 +0000 (13:48 +1000)
committerBen McGinnes <ben@adversary.org>
Sun, 16 Sep 2018 03:48:12 +0000 (13:48 +1000)
commit61c08f7435570783f5c267e42d288d31bf77e560
tree63b9fc79d4b9e092bd5cc705a6ceb6ec851737a8
parentfbec29fdac7a4f162e73f24dac2a6b205239ef03
docs: python bindings howto

* 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.
doc/gpgme-python-howto.texi
lang/python/docs/gpgme-python-howto.org
lang/python/examples/howto/advanced/cython/keycount.c [new file with mode: 0644]
lang/python/examples/howto/advanced/cython/keycount.pyx [new file with mode: 0755]
lang/python/examples/howto/advanced/cython/setup.py [new file with mode: 0644]