Blame lang/python/version.py.in

Packit Service 6c01f9
# Copyright (C) 2016 g10 Code GmbH
Packit Service 672cf4
# Copyright (C) 2015 Ben McGinnes <ben@adversary.org>
Packit Service 672cf4
# Copyright (C) 2004 Igor Belyi <belyi@users.sourceforge.net>
Packit Service 672cf4
#
Packit Service 672cf4
# This library is free software; you can redistribute it and/or
Packit Service 672cf4
# modify it under the terms of the GNU Lesser General Public
Packit Service 672cf4
# License as published by the Free Software Foundation; either
Packit Service 672cf4
# version 2.1 of the License, or (at your option) any later version.
Packit Service 672cf4
#
Packit Service 672cf4
# This library is distributed in the hope that it will be useful,
Packit Service 672cf4
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 672cf4
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 672cf4
# Lesser General Public License for more details.
Packit Service 672cf4
#
Packit Service 672cf4
# You should have received a copy of the GNU Lesser General Public
Packit Service 672cf4
# License along with this library; if not, write to the Free Software
Packit Service 672cf4
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
Packit Service 672cf4
Packit Service 672cf4
from __future__ import absolute_import, print_function
Packit Service 6c01f9
del absolute_import, print_function
Packit Service 672cf4
Packit Service 672cf4
from . import gpgme
Packit Service 672cf4
Packit Service 672cf4
productname = 'gpg'
Packit Service 672cf4
versionstr = "@VERSION@"
Packit Service 672cf4
gpgme_versionstr = gpgme.GPGME_VERSION
Packit Service 672cf4
in_tree_build = bool(gpgme.cvar.gpg_in_tree_build)
Packit Service 672cf4
Packit Service 672cf4
versionlist = versionstr.split(".")
Packit Service 672cf4
major = versionlist[0]
Packit Service 672cf4
minor = versionlist[1]
Packit Service 672cf4
patch = versionlist[2]
Packit Service 672cf4
Packit Service 672cf4
copyright = """\
Packit Service 6c01f9
Copyright (C) 2016 g10 Code GmbH
Packit Service 6c01f9
Copyright (C) 2015 Ben McGinnes
Packit Service 672cf4
Copyright (C) 2014-2015 Martin Albrecht
Packit Service 672cf4
Copyright (C) 2004-2008 Igor Belyi
Packit Service 672cf4
Copyright (C) 2002 John Goerzen"""
Packit Service 672cf4
Packit Service 672cf4
author = "The GnuPG hackers"
Packit Service 672cf4
author_email = "gnupg-devel@gnupg.org"
Packit Service 672cf4
Packit Service 672cf4
description = "Python support for GPGME GnuPG cryptography library"
Packit Service 672cf4
homepage = "https://gnupg.org"
Packit Service 672cf4
Packit Service 6c01f9
license = """Copyright (C) 2016 g10 Code GmbH
Packit Service 6c01f9
Copyright (C) 2015 Ben McGinnes <ben@adversary.org>
Packit Service 672cf4
Copyright (C) 2014, 2015 Martin Albrecht <martinralbrecht@googlemail.com>
Packit Service 672cf4
Copyright (C) 2004, 2008 Igor Belyi <belyi@users.sourceforge.net>
Packit Service 672cf4
Copyright (C) 2002 John Goerzen <jgoerzen@complete.org>
Packit Service 672cf4
Packit Service 672cf4
This library is free software; you can redistribute it and/or
Packit Service 672cf4
modify it under the terms of the GNU Lesser General Public
Packit Service 672cf4
License as published by the Free Software Foundation; either
Packit Service 672cf4
version 2.1 of the License, or (at your option) any later version.
Packit Service 672cf4
Packit Service 672cf4
This library is distributed in the hope that it will be useful,
Packit Service 672cf4
but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 672cf4
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 672cf4
Lesser General Public License for more details.
Packit Service 672cf4
Packit Service 672cf4
You should have received a copy of the GNU Lesser General Public
Packit Service 672cf4
License along with this library; if not, write to the Free Software
Packit Service 672cf4
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA"""
Packit Service 672cf4
Packit Service 672cf4
# Interface hygiene.  Keep this at the end.
Packit Service 672cf4
del gpgme