[git] GPGME - branch, master, updated. gpgme-1.11.1-125-g03b899d

by Ben McGinnes cvs at cvs.gnupg.org
Sat Aug 18 16:23:52 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  03b899dbe14a3c32fd018c20c7d5156366fdcc3d (commit)
      from  5facba45c83f7daaacc49e66306e13a35aeb74be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 03b899dbe14a3c32fd018c20c7d5156366fdcc3d
Author: Ben McGinnes <ben at adversary.org>
Date:   Sun Aug 19 00:21:47 2018 +1000

    Python bindings setup file
    
    * Moved the build import back up where it belongs.
    * Included comments indicating how to build and install for multiple
      Python versions beyond the first 2 on the same system.

diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index 4767e14..65a4be0 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -19,6 +19,7 @@
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 
 from distutils.core import setup, Extension
+from distutils.command.build import build
 
 import glob
 import os
@@ -146,8 +147,16 @@ def up_to_date(source, target):
 #       https://bugs.python.org/issue2624
 # Workaround:
 # https://stackoverflow.com/questions/12491328/python-distutils-not-include-the-swig-generated-module
-from distutils.command.build import build
-
+#
+# To install to multiple Python installations or to alternate ones run the
+# following three commands (yes, run the build one twice):
+#
+# /path/to/pythonX.Y setup.py build
+# /path/to/pythonX.Y setup.py build
+# /path/to/pythonX.Y setup.py install
+#
+# It is highly likely that this will need to be run as root or with sudo (or
+# sudo -H).  It may or may not work with venv. and outside a virtualenv
 
 class BuildExtFirstHack(build):
     def _read_header(self, header, cflags):

-----------------------------------------------------------------------

Summary of changes:
 lang/python/setup.py.in | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list