blob: 18f339e09b49919c9ab14ceecb43cd9897869115 [file] [log] [blame]
Sybren Stüvel454261b2008-04-23 13:22:44 +02001#!/usr/bin/env python
Brian Sizemore6d96e202015-11-05 13:52:42 -05002# -*- coding: utf-8 -*-
Roy Kokkelkoren0659aac2015-10-25 16:12:11 +01003# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
Sybren A. Stüvel3934ab42016-02-05 16:01:20 +01009# https://www.apache.org/licenses/LICENSE-2.0
Roy Kokkelkoren0659aac2015-10-25 16:12:11 +010010#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Sybren Stüvel454261b2008-04-23 13:22:44 +020016
17from setuptools import setup
18
Hugo7d03fe42018-04-28 15:35:17 +030019with open('README.md') as f:
20 long_description = f.read()
21
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010022if __name__ == '__main__':
23 setup(name='rsa',
Sybren A. Stüvel368a31f2018-09-16 13:42:15 +020024 version='4.0',
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010025 description='Pure-Python RSA implementation',
Hugo7d03fe42018-04-28 15:35:17 +030026 long_description=long_description,
27 long_description_content_type='text/markdown',
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010028 author='Sybren A. Stuvel',
29 author_email='sybren@stuvel.eu',
30 maintainer='Sybren A. Stuvel',
31 maintainer_email='sybren@stuvel.eu',
32 url='https://stuvel.eu/rsa',
33 packages=['rsa'],
34 license='ASL 2',
35 classifiers=[
36 'Development Status :: 5 - Production/Stable',
37 'Intended Audience :: Developers',
38 'Intended Audience :: Education',
39 'Intended Audience :: Information Technology',
40 'License :: OSI Approved :: Apache Software License',
41 'Operating System :: OS Independent',
42 'Programming Language :: Python',
Hugo3bdc82e2017-10-22 18:02:24 +030043 'Programming Language :: Python :: 2',
Sybren A. Stüveld9dbf6e2016-01-27 18:23:01 +010044 'Programming Language :: Python :: 2.7',
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010045 'Programming Language :: Python :: 3',
Sybren A. Stüveld9dbf6e2016-01-27 18:23:01 +010046 'Programming Language :: Python :: 3.4',
47 'Programming Language :: Python :: 3.5',
Jon Banafatoc0b7bff2017-06-29 10:55:06 -040048 'Programming Language :: Python :: 3.6',
Sybren A. Stüvel1971c3e2018-09-16 13:39:55 +020049 'Programming Language :: Python :: 3.7',
Hugo3bdc82e2017-10-22 18:02:24 +030050 'Programming Language :: Python :: Implementation :: CPython',
51 'Programming Language :: Python :: Implementation :: PyPy',
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010052 'Topic :: Security :: Cryptography',
53 ],
54 install_requires=[
55 'pyasn1 >= 0.1.3',
56 ],
57 entry_points={'console_scripts': [
58 'pyrsa-priv2pub = rsa.util:private_to_public',
59 'pyrsa-keygen = rsa.cli:keygen',
60 'pyrsa-encrypt = rsa.cli:encrypt',
61 'pyrsa-decrypt = rsa.cli:decrypt',
62 'pyrsa-sign = rsa.cli:sign',
63 'pyrsa-verify = rsa.cli:verify',
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010064 ]},
Sybren A. Stüvel65ce6642011-07-24 19:57:19 +020065
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010066 )