blob: f92533d31e4fdd07fd40a5ad42e781c26d65453a [file] [log] [blame]
Jean-Paul Calderonecf20dd62008-06-12 16:38:38 -04001#!/usr/bin/env python
Jean-Paul Calderone0db6cdb2008-04-11 11:52:15 -04002# -*- coding: utf-8 -*-
Jean-Paul Calderone897bc252008-02-18 20:50:23 -05003#
Hynek Schlawack76ecf942015-04-14 11:09:44 -04004# Copyright (C) Jean-Paul Calderone 2008-2015, All rights reserved
Jean-Paul Calderone897bc252008-02-18 20:50:23 -05005#
Jean-Paul Calderonee53ccf72008-04-11 11:40:39 -04006
Jean-Paul Calderone897bc252008-02-18 20:50:23 -05007"""
8Installation script for the OpenSSL module
9"""
10
Jean-Paul Calderone5d97b412014-01-10 14:09:20 -050011from setuptools import setup
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050012
Hynek Schlawack76ecf942015-04-14 11:09:44 -040013
Jean-Paul Calderoneba4308e2010-07-27 20:56:32 -040014# XXX Deduplicate this
Hynek Schlawack76ecf942015-04-14 11:09:44 -040015__version__ = '0.15'
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050016
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050017setup(name='pyOpenSSL', version=__version__,
Jean-Paul Calderonee0d94c82009-07-21 11:12:52 -040018 packages = ['OpenSSL'],
Jean-Paul Calderone024375a2010-07-27 20:37:50 -040019 package_dir = {'OpenSSL': 'OpenSSL'},
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -050020 py_modules = ['OpenSSL.__init__',
21 'OpenSSL.tsafe',
Jean-Paul Calderone8210b922013-02-09 09:03:18 -080022 'OpenSSL.rand',
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -050023 'OpenSSL.crypto',
24 'OpenSSL.SSL',
25 'OpenSSL.version',
26 'OpenSSL.test.__init__',
Jean-Paul Calderone0b88b6a2009-07-05 12:44:41 -040027 'OpenSSL.test.util',
Jean-Paul Calderone30c09ea2008-03-21 17:04:05 -040028 'OpenSSL.test.test_crypto',
Rick Dean433dc642009-07-07 13:11:55 -050029 'OpenSSL.test.test_rand',
Hynek Schlawackb1648592015-04-13 22:18:25 -040030 'OpenSSL.test.test_ssl',
31 'OpenSSL.test.test_tsafe',
32 'OpenSSL.test.test_util',],
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050033 description = 'Python wrapper module around the OpenSSL library',
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -050034 author = 'Jean-Paul Calderone',
35 author_email = 'exarkun@twistedmatrix.com',
Jean-Paul Calderonee53ccf72008-04-11 11:40:39 -040036 maintainer = 'Jean-Paul Calderone',
37 maintainer_email = 'exarkun@twistedmatrix.com',
Jean-Paul Calderone324c6432014-01-09 15:34:08 -050038 url = 'https://github.com/pyca/pyopenssl',
Jean-Paul Calderone9820bba2011-03-02 19:02:33 -050039 license = 'APL2',
Jean-Paul Calderone7cf3b472015-01-18 18:35:40 -050040 install_requires=["cryptography>=0.7", "six>=1.5.2"],
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050041 long_description = """\
42High-level wrapper around a subset of the OpenSSL library, includes
43 * SSL.Connection objects, wrapping the methods of Python's portable
44 sockets
45 * Callbacks written in Python
46 * Extensive error-handling mechanism, mirroring OpenSSL's error codes
Jean-Paul Calderoned59d3bc2011-12-19 13:32:29 -050047... and much more ;)""",
48 classifiers = [
49 'Development Status :: 6 - Mature',
50 'Intended Audience :: Developers',
51 'License :: OSI Approved :: Apache Software License',
52 'Operating System :: MacOS :: MacOS X',
53 'Operating System :: Microsoft :: Windows',
54 'Operating System :: POSIX',
Jean-Paul Calderone16743132014-03-03 09:12:06 -050055
56 # General classifiers to indicate "this project supports Python 2" and
57 # "this project supports Python 3".
58 'Programming Language :: Python :: 2',
59 # In particular, this makes pyOpenSSL show up on
60 # https://pypi.python.org/pypi?:action=browse&c=533&show=all and is in
61 # accordance with
62 # http://docs.python.org/2/howto/pyporting.html#universal-bits-of-advice
63 'Programming Language :: Python :: 3',
64
65 # More specific classifiers to indicate more precisely which versions
66 # of those languages the project supports.
Jean-Paul Calderoned59d3bc2011-12-19 13:32:29 -050067 'Programming Language :: Python :: 2.6',
68 'Programming Language :: Python :: 2.7',
69 'Programming Language :: Python :: 3.2',
Jean-Paul Calderone19ad3712014-01-09 20:40:46 -050070 'Programming Language :: Python :: 3.3',
Jean-Paul Calderone16743132014-03-03 09:12:06 -050071
Jean-Paul Calderoned59d3bc2011-12-19 13:32:29 -050072 'Programming Language :: Python :: Implementation :: CPython',
73 'Programming Language :: Python :: Implementation :: PyPy',
74 'Topic :: Security :: Cryptography',
75 'Topic :: Software Development :: Libraries :: Python Modules',
76 'Topic :: System :: Networking',
Jean-Paul Calderone11bf4b92014-01-11 07:30:42 -050077 ],
Jean-Paul Calderone4f0467a2014-01-11 11:58:41 -050078 test_suite="OpenSSL")