From 6950a63e63d60685ddb6f4cbff7b826b8acb5b13 Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Tue, 20 Mar 2018 08:26:57 +1100 Subject: docs: python bindings examples * Added reference to location where all the examples included in the HOWTO will be available as executable scripts. * Included a short README file in that location. --- lang/python/examples/howto/README.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lang/python/examples/howto/README.org (limited to 'lang/python/examples/howto/README.org') diff --git a/lang/python/examples/howto/README.org b/lang/python/examples/howto/README.org new file mode 100644 index 00000000..ee8c9863 --- /dev/null +++ b/lang/python/examples/howto/README.org @@ -0,0 +1,24 @@ +#+TITLE: GPGME Python Bindings HOWTO Examples +#+LATEX_COMPILER: xelatex +#+LATEX_CLASS: article +#+LATEX_CLASS_OPTIONS: [12pt] +#+LATEX_HEADER: \usepackage{xltxtra} +#+LATEX_HEADER: \usepackage[margin=1in]{geometry} +#+LATEX_HEADER: \setmainfont[Ligatures={Common}]{Times New Roman} +#+LATEX_HEADER: \author{Ben McGinnes } + + +* Examples + :PROPERTIES: + :CUSTOM_ID: gpgme-python3-examples + :END: + + The contents of this directory are the examples included in the /GNU + Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO/ file. Each + script is explicitly for Python 3 and specifically for Python 3.4 or + later. + + Some of these scripts may work with Python 2.7, but there are no + guarantees. They will include the relevant imports from the + =__future__= module to facilitate that if possible. + -- cgit v1.2.3 From 8f7672ad1b267f122f647bb5f984734d0ff66a5c Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Tue, 20 Mar 2018 08:31:53 +1100 Subject: doc: python bindings example README * Added the same license as used with the HOWTO. * Since these examples are so basic, they'll be dual licensed the same as GPGME itself (otherwise it would slip too dangerously against the need for permissive licensing of crypto libraries). --- lang/python/examples/howto/README.org | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'lang/python/examples/howto/README.org') diff --git a/lang/python/examples/howto/README.org b/lang/python/examples/howto/README.org index ee8c9863..604037f1 100644 --- a/lang/python/examples/howto/README.org +++ b/lang/python/examples/howto/README.org @@ -22,3 +22,31 @@ guarantees. They will include the relevant imports from the =__future__= module to facilitate that if possible. + +* Copyright and Licensing + :PROPERTIES: + :CUSTOM_ID: copyright-and-license + :END: + + +** Copyright (C) The GnuPG Project, 2018 + :PROPERTIES: + :CUSTOM_ID: copyright + :END: + + Copyright © The GnuPG Project, 2018. + + +** License GPL compatible + :PROPERTIES: + :CUSTOM_ID: license + :END: + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. -- cgit v1.2.3 From b30ebf89725641018b3b08f77876530f9b983fa2 Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Tue, 20 Mar 2018 08:39:49 +1100 Subject: doc: python bindings examples * Explicitly stated that all this code is released under the GPLv2+ and the LGPLv2.1+. --- lang/python/examples/howto/README.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lang/python/examples/howto/README.org') diff --git a/lang/python/examples/howto/README.org b/lang/python/examples/howto/README.org index 604037f1..b74ae7e2 100644 --- a/lang/python/examples/howto/README.org +++ b/lang/python/examples/howto/README.org @@ -28,6 +28,12 @@ :CUSTOM_ID: copyright-and-license :END: + Unless otherwise stated, all the examples in this directory are + released under the same terms as GPGME itself; that is they are dual + licensed under the terms of both the GNU General Public License + version 2.0 (or any later version) *and* the GNU Lesser General + Public License version 2.1 (or any later version). + ** Copyright (C) The GnuPG Project, 2018 :PROPERTIES: -- cgit v1.2.3