<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/python/examples/howto/advanced, branch gpgme-1.24-branch</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.24-branch</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-1.24-branch'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2024-05-29T15:04:10Z</updated>
<entry>
<title>build,python: Build Python bindings without distutils</title>
<updated>2024-05-29T15:04:10Z</updated>
<author>
<name>Ben Greiner</name>
<email>code@bnavigator.de</email>
</author>
<published>2024-05-29T13:17:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=5844d9e700239ad10a5956cd7789bd02360bb0fa'/>
<id>urn:sha1:5844d9e700239ad10a5956cd7789bd02360bb0fa</id>
<content type='text'>
* 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
</content>
</entry>
<entry>
<title>python: advanced howto example</title>
<updated>2018-12-12T12:05:50Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-12-12T12:05:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=64758a0dac4c7c3b312dccbc1661813e2c3e2888'/>
<id>urn:sha1:64758a0dac4c7c3b312dccbc1661813e2c3e2888</id>
<content type='text'>
* Added Cython requirement to this advanced use case.
</content>
</entry>
<entry>
<title>docs: python bindings</title>
<updated>2018-09-17T22:32:30Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-09-17T22:32:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=362caaf02f3a25b7e626572aa30b87771c2c8f4d'/>
<id>urn:sha1:362caaf02f3a25b7e626572aa30b87771c2c8f4d</id>
<content type='text'>
* Updated the Cython example code slightly, along with the
  corresponding explanation.
</content>
</entry>
<entry>
<title>docs: cython sanitized</title>
<updated>2018-09-16T03:58:34Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-09-16T03:58:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=44c846345e91413b9d6a1f7b26f59db5b1c32433'/>
<id>urn:sha1:44c846345e91413b9d6a1f7b26f59db5b1c32433</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>docs: python bindings howto</title>
<updated>2018-09-16T03:48:12Z</updated>
<author>
<name>Ben McGinnes</name>
<email>ben@adversary.org</email>
</author>
<published>2018-09-16T03:48:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=61c08f7435570783f5c267e42d288d31bf77e560'/>
<id>urn:sha1:61c08f7435570783f5c267e42d288d31bf77e560</id>
<content type='text'>
* 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.
</content>
</entry>
</feed>
