Imported Upstream version 1.12.0
[platform/upstream/gpgme.git] / lang / python / version.py.in
1 # -*- coding: utf-8 -*-
2
3 # Copyright (C) 2016-2018 g10 Code GmbH
4 # Copyright (C) 2015 Ben McGinnes <ben@adversary.org>
5 # Copyright (C) 2004 Igor Belyi <belyi@users.sourceforge.net>
6 #
7 # This library is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Lesser General Public
9 # License as published by the Free Software Foundation; either
10 # version 2.1 of the License, or (at your option) any later version.
11 #
12 # This library is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 # Lesser General Public License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with this library; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
20
21 from __future__ import absolute_import, print_function
22
23 from . import gpgme
24
25 del absolute_import, print_function
26
27 productname = 'gpg'
28 versionstr = "@VERSION@"
29 gpgme_versionstr = gpgme.GPGME_VERSION
30 in_tree_build = bool(gpgme.cvar.gpg_in_tree_build)
31
32 versionlist = versionstr.split(".")
33 major = versionlist[0]
34 minor = versionlist[1]
35 patch = versionlist[2]
36
37 copyright = """\
38 Copyright (C) 2016-2018 g10 Code GmbH
39 Copyright (C) 2015 Benjamin D. McGinnes
40 Copyright (C) 2014-2015 Martin Albrecht
41 Copyright (C) 2004-2008 Igor Belyi
42 Copyright (C) 2002 John Goerzen"""
43
44 author = "The GnuPG hackers"
45 author_email = "gnupg-devel@gnupg.org"
46
47 description = "Python support for GPGME GnuPG cryptography library"
48 homepage = "https://gnupg.org"
49
50 license = """Copyright (C) 2016-2018 g10 Code GmbH
51 Copyright (C) 2015 Benjamin D. McGinnes <ben@adversary.org>
52 Copyright (C) 2014, 2015 Martin Albrecht <martinralbrecht@googlemail.com>
53 Copyright (C) 2004, 2008 Igor Belyi <belyi@users.sourceforge.net>
54 Copyright (C) 2002 John Goerzen <jgoerzen@complete.org>
55
56 This library is free software; you can redistribute it and/or
57 modify it under the terms of the GNU Lesser General Public
58 License as published by the Free Software Foundation; either
59 version 2.1 of the License, or (at your option) any later version.
60
61 This library is distributed in the hope that it will be useful,
62 but WITHOUT ANY WARRANTY; without even the implied warranty of
63 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
64 Lesser General Public License for more details.
65
66 You should have received a copy of the GNU Lesser General Public
67 License along with this library; if not, write to the Free Software
68 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA"""
69
70 # Interface hygiene.  Keep this at the end.
71 del gpgme