python-gnupg/setup.py

74 lines
3.2 KiB
Python

#!/usr/bin/env python
#-*- coding: utf-8 -*-
#
# This file is part of python-gnupg, a Python interface to GnuPG.
# Copyright © 2013 Isis Lovecruft
# © 2008-2012 Vinay Sajip
# © 2005 Steve Traugott
# © 2004 A.M. Kuchling
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#______________________________________________________________________________
#
# NOTE: setuptools is currently (as of 27 May 2013) being merged back into its
# parent project, distribute. By using the included distribute_setup.py
# script, we make sure that we have a recent version of setuptools/distribute,
# which is the *only* Python packaging framework compatible at this point with
# both Python>=2.4 and Python3.x.
#
from distutils.core import setup
import versioneer
versioneer.versionfile_source = 'src/_version.py'
versioneer.versionfile_build = 'gnupg/_version.py'
versioneer.tag_prefix = ''
versioneer.parentdir_prefix = 'python-gnupg-'
__author__ = "Isis Agora Lovecruft"
__contact__ = 'isis@leap.se'
setup(name = "python-gnupg",
description="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)",
long_description = "This module allows easy access to GnuPG's key \
management, encryption and signature functionality from Python programs. \
It is intended for use with Python 2.6 or greater.",
license="""Copyright © 2013 Isis Lovecruft, et.al. see LICENSE file.""",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author=__author__,
author_email=__contact__,
maintainer=__author__,
maintainer_email=__contact__,
url="https://github.com/isislovecruft/python-gnupg",
package_dir={'gnupg': 'src'},
packages=['gnupg'],
include_package_data=True,
platforms="Linux, BSD, OSX, Windows",
download_url="https://github.com/isislovecruft/python-gnupg/archive/develop.zip",
classifiers=[
'Development Status :: 4 - Alpha',
"Intended Audience :: Developers",
'Classifier:: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Topic :: Software Development :: Libraries :: Python Modules",
'Classifier:: Topic :: Security :: Cryptography',
'Classifier:: Topic :: Software Development :: Libraries :: Python Modules',
'Classifier:: Topic :: Utilities',]
)