blob: 839626a1bda57c4cf9bba6d3c5171d807e8cc0c0 [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#
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -05004# Copyright (C) Jean-Paul Calderone 2008-2014, 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
Jean-Paul Calderoneba4308e2010-07-27 20:56:32 -040013# XXX Deduplicate this
Jean-Paul Calderone0146d442014-02-23 07:59:19 -050014__version__ = '0.14'
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050015
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050016setup(name='pyOpenSSL', version=__version__,
Jean-Paul Calderonee0d94c82009-07-21 11:12:52 -040017 packages = ['OpenSSL'],
Jean-Paul Calderone024375a2010-07-27 20:37:50 -040018 package_dir = {'OpenSSL': 'OpenSSL'},
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -050019 py_modules = ['OpenSSL.__init__',
20 'OpenSSL.tsafe',
Jean-Paul Calderone8210b922013-02-09 09:03:18 -080021 'OpenSSL.rand',
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -050022 'OpenSSL.crypto',
23 'OpenSSL.SSL',
24 'OpenSSL.version',
25 'OpenSSL.test.__init__',
Jean-Paul Calderone0b88b6a2009-07-05 12:44:41 -040026 'OpenSSL.test.util',
Jean-Paul Calderone30c09ea2008-03-21 17:04:05 -040027 'OpenSSL.test.test_crypto',
Rick Dean433dc642009-07-07 13:11:55 -050028 'OpenSSL.test.test_rand',
Hynek Schlawackb1648592015-04-13 22:18:25 -040029 'OpenSSL.test.test_ssl',
30 'OpenSSL.test.test_tsafe',
31 'OpenSSL.test.test_util',],
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050032 description = 'Python wrapper module around the OpenSSL library',
Jean-Paul Calderone1ac2c192013-12-31 20:16:13 -050033 author = 'Jean-Paul Calderone',
34 author_email = 'exarkun@twistedmatrix.com',
Jean-Paul Calderonee53ccf72008-04-11 11:40:39 -040035 maintainer = 'Jean-Paul Calderone',
36 maintainer_email = 'exarkun@twistedmatrix.com',
Jean-Paul Calderone324c6432014-01-09 15:34:08 -050037 url = 'https://github.com/pyca/pyopenssl',
Jean-Paul Calderone9820bba2011-03-02 19:02:33 -050038 license = 'APL2',
Jean-Paul Calderone7cf3b472015-01-18 18:35:40 -050039 install_requires=["cryptography>=0.7", "six>=1.5.2"],
Jean-Paul Calderone897bc252008-02-18 20:50:23 -050040 long_description = """\
41High-level wrapper around a subset of the OpenSSL library, includes
42 * SSL.Connection objects, wrapping the methods of Python's portable
43 sockets
44 * Callbacks written in Python
45 * Extensive error-handling mechanism, mirroring OpenSSL's error codes
Jean-Paul Calderoned59d3bc2011-12-19 13:32:29 -050046... and much more ;)""",
47 classifiers = [
48 'Development Status :: 6 - Mature',
49 'Intended Audience :: Developers',
50 'License :: OSI Approved :: Apache Software License',
51 'Operating System :: MacOS :: MacOS X',
52 'Operating System :: Microsoft :: Windows',
53 'Operating System :: POSIX',
Jean-Paul Calderone16743132014-03-03 09:12:06 -050054
55 # General classifiers to indicate "this project supports Python 2" and
56 # "this project supports Python 3".
57 'Programming Language :: Python :: 2',
58 # In particular, this makes pyOpenSSL show up on
59 # https://pypi.python.org/pypi?:action=browse&c=533&show=all and is in
60 # accordance with
61 # http://docs.python.org/2/howto/pyporting.html#universal-bits-of-advice
62 'Programming Language :: Python :: 3',
63
64 # More specific classifiers to indicate more precisely which versions
65 # of those languages the project supports.
Jean-Paul Calderoned59d3bc2011-12-19 13:32:29 -050066 'Programming Language :: Python :: 2.6',
67 'Programming Language :: Python :: 2.7',
68 'Programming Language :: Python :: 3.2',
Jean-Paul Calderone19ad3712014-01-09 20:40:46 -050069 'Programming Language :: Python :: 3.3',
Jean-Paul Calderone16743132014-03-03 09:12:06 -050070
Jean-Paul Calderoned59d3bc2011-12-19 13:32:29 -050071 'Programming Language :: Python :: Implementation :: CPython',
72 'Programming Language :: Python :: Implementation :: PyPy',
73 'Topic :: Security :: Cryptography',
74 'Topic :: Software Development :: Libraries :: Python Modules',
75 'Topic :: System :: Networking',
Jean-Paul Calderone11bf4b92014-01-11 07:30:42 -050076 ],
Jean-Paul Calderone4f0467a2014-01-11 11:58:41 -050077 test_suite="OpenSSL")