Files
PGPy-3_13_patch/setup.py
Michael Greene 5668d77b97 now working on 0.3.0
[skip ci]
2014-07-20 23:03:38 -07:00

65 lines
2.4 KiB
Python

#!/usr/bin/python
# from distutils.core import setup
from setuptools import setup
# this is dirty
import sys
sys.path.append('pgpy')
import _author
# long_description is the contents of README.rst
with open('README.rst') as readme:
long_desc = readme.read()
##TODO: fill in blank fields
setup(
# metadata
name = 'PGPy',
version = _author.__version__,
description = 'Pretty Good Privacy for Python',
long_description = long_desc,
author = _author.__author__,
author_email = "mgreene@securityinnovation.com",
license = _author.__license__,
classifiers = ['Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Security',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: BSD License'],
keywords = ["PGP",
"pgp",
"Pretty Good Privacy",
"GPG",
"gpg",
"OpenPGP"],
# dependencies
install_requires = ['cryptography==0.4',
'requests',
'enum34'],
# urls
url = "https://github.com/Commod0re/PGPy",
download_url = "https://github.com/Commod0re/PGPy/archive/{pgpy_ver}.tar.gz".format(pgpy_ver=_author.__version__),
# bugtrack_url = "https://github.com/Commod0re/PGPy/issues",
# package hierarchy
packages = [
"pgpy",
"pgpy.packet",
"pgpy.packet.fields",
"pgpy.packet.subpackets"
],
)