aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gpygme/setup.py
blob: c5ad3fefc3d38ff735bf8c87deb7ae3b2c221193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python

import os
import sys

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

__author__ = 'Ben McGinnes <[email protected]>'
__version__ = '0.0.1'

packages = [
    'gpygme',
    'gpygme.gnupg',
    'gpygme.gpgsm'
]

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()

setup(
    name='GPyGME',
    version=__version__,
    install_requires=['cffi>=1.0.2'],
    author='Ben McGinnes',
    author_email='[email protected]',
    license=open('COPYING.LESSER').read(),
    license=open('COPYING').read(),
    url='http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=summary',
    keywords='gpg gnupg openpgp api rest-like json encryption signing',
    description='Actively maintained, pure Python wrapper and API for the \
    GPGME cryptographic engine C API.  Provides Python modules for Python \
    3 and a stand alone API for developers using any other language.',
    long_description=open('README.org').read() + '\n\n' +
        open('FAQ.org').read(),
    include_package_data=True,
    packages=packages,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: LGPL 2.1+',
        'License :: OSI Approved :: GPL 2.0+',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Software Development :: API',
        'Topic :: Security :: Cryptography',
        'Topic :: Security :: Cryptography :: Encryption',
        'Topic :: Security :: Cryptography :: Decryption',
        'Topic :: Security :: Cryptography :: Digital Signing',
        'Topic :: Security :: Cryptography :: Digital Signature Validation',
        'Topic :: Security :: Cryptography :: Authentication',
        'Topic :: Internet'
    ]
    # extras_require={
    #     'security': ['pyOpenSSL'],
    #     'library': ['cython']
    # },
)