setup.py 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. from setuptools import setup
  17. if __name__ == '__main__':
  18. setup(name='rsa',
  19. version='3.4.2',
  20. description='Pure-Python RSA implementation',
  21. author='Sybren A. Stuvel',
  22. author_email='sybren@stuvel.eu',
  23. maintainer='Sybren A. Stuvel',
  24. maintainer_email='sybren@stuvel.eu',
  25. url='https://stuvel.eu/rsa',
  26. packages=['rsa'],
  27. license='ASL 2',
  28. classifiers=[
  29. 'Development Status :: 5 - Production/Stable',
  30. 'Intended Audience :: Developers',
  31. 'Intended Audience :: Education',
  32. 'Intended Audience :: Information Technology',
  33. 'License :: OSI Approved :: Apache Software License',
  34. 'Operating System :: OS Independent',
  35. 'Programming Language :: Python',
  36. 'Programming Language :: Python :: 2',
  37. 'Programming Language :: Python :: 2.6',
  38. 'Programming Language :: Python :: 2.7',
  39. 'Programming Language :: Python :: 3',
  40. 'Programming Language :: Python :: 3.3',
  41. 'Programming Language :: Python :: 3.4',
  42. 'Programming Language :: Python :: 3.5',
  43. 'Topic :: Security :: Cryptography',
  44. ],
  45. install_requires=[
  46. 'pyasn1 >= 0.1.3',
  47. ],
  48. entry_points={'console_scripts': [
  49. 'pyrsa-priv2pub = rsa.util:private_to_public',
  50. 'pyrsa-keygen = rsa.cli:keygen',
  51. 'pyrsa-encrypt = rsa.cli:encrypt',
  52. 'pyrsa-decrypt = rsa.cli:decrypt',
  53. 'pyrsa-sign = rsa.cli:sign',
  54. 'pyrsa-verify = rsa.cli:verify',
  55. 'pyrsa-encrypt-bigfile = rsa.cli:encrypt_bigfile',
  56. 'pyrsa-decrypt-bigfile = rsa.cli:decrypt_bigfile',
  57. ]},
  58. )