• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3#  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#
9#      https://www.apache.org/licenses/LICENSE-2.0
10#
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.
16
17from setuptools import setup
18
19with open('README.md') as f:
20    long_description = f.read()
21
22if __name__ == '__main__':
23    setup(name='rsa',
24          version='4.0',
25          description='Pure-Python RSA implementation',
26          long_description=long_description,
27          long_description_content_type='text/markdown',
28          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',
43              'Programming Language :: Python :: 2',
44              'Programming Language :: Python :: 2.7',
45              'Programming Language :: Python :: 3',
46              'Programming Language :: Python :: 3.4',
47              'Programming Language :: Python :: 3.5',
48              'Programming Language :: Python :: 3.6',
49              'Programming Language :: Python :: 3.7',
50              'Programming Language :: Python :: Implementation :: CPython',
51              'Programming Language :: Python :: Implementation :: PyPy',
52              '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',
64          ]},
65
66          )
67