Blame lang/python/version.py.in

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