From: W. Trevor King Date: Fri, 31 Aug 2012 18:16:49 +0000 (-0400) Subject: doc: explain need for Python 3.2 in the README. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba91bbf20648349c4696d510fbe6e8b7212a6c8c;p=pgp-mime.git doc: explain need for Python 3.2 in the README. Also list Python 3.2 and 3.3 as explicitly supported in setup.py. --- diff --git a/README b/README index ea98754..a122d47 100644 --- a/README +++ b/README @@ -33,6 +33,11 @@ the cryptography. __ wrappers_ +It would be awkward to backport ``pgp-mime`` to Python 2.7, because we +take advantage of the ``pass_fds`` argument to Popen_ to pass file +descriptors to the child `gpgme-tool` processes. Once we get to +Python 3.3, we'll use sendmsg_ and recvmsg_ instead. + Installing by hand ------------------ @@ -136,6 +141,9 @@ wking@tremily.us .. _pyassuan: http://blog.tremily.us/posts/pyassuan/ .. _gpgme-tool: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob;f=src/gpgme-tool.c;hb=HEAD +.. _Popen: http://docs.python.org/py3k/library/subprocess.html#subprocess.Popen +.. _sendmsg: http://docs.python.org/dev/library/socket.html#socket.socket.sendmsg +.. _recvmsg: http://docs.python.org/dev/library/socket.html#socket.socket.recvmsg .. _Git: http://git-scm.com/ .. _homepage: http://blog.tremily.us/posts/pgp-mime/ .. _wrappers and pinentry program: http://blog.tremily.us/posts/gpg-agent/ diff --git a/setup.py b/setup.py index bbf6cbc..97f63e4 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,8 @@ _setup( 'Operating System :: OS Independent', 'License :: OSI Approved :: GNU General Public License (GPL)', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', 'Topic :: Communications :: Email', 'Topic :: Security :: Cryptography', 'Topic :: Software Development'