setup.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #!/usr/bin/env python
  2. #
  3. # Copyright 2013 Google Inc. All Rights Reserved.
  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. # http://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. """Setup configuration."""
  17. try:
  18. import setuptools
  19. except ImportError:
  20. from ez_setup import use_setuptools
  21. use_setuptools()
  22. import setuptools
  23. setuptools.setup(
  24. name='pyu2f',
  25. version='0.1.4',
  26. description='U2F host library for interacting with a U2F device over USB.',
  27. long_description='pyu2f is a python based U2F host library for Linux, '
  28. 'Windows, and MacOS. It provides functionality for '
  29. 'interacting with a U2F device over USB.',
  30. url='https://github.com/google/pyu2f/',
  31. author='Google Inc.',
  32. author_email='pyu2f-team@google.com',
  33. # Contained modules and scripts.
  34. packages=setuptools.find_packages(exclude=["pyu2f.tests", "pyu2f.tests.*"]),
  35. install_requires=[
  36. 'six',
  37. ],
  38. tests_require=[
  39. 'unittest2>=0.5.1',
  40. 'pyfakefs>=2.4',
  41. 'mock>=1.0.1',
  42. ],
  43. include_package_data=True,
  44. platforms=["Windows", "Linux", "OS X", "macOS"],
  45. # PyPI package information.
  46. classifiers=[
  47. 'License :: OSI Approved :: Apache Software License',
  48. 'Topic :: Software Development :: Libraries',
  49. 'Topic :: Software Development :: Libraries :: Python Modules',
  50. 'Programming Language :: Python',
  51. 'Programming Language :: Python :: 2',
  52. 'Programming Language :: Python :: 2.7',
  53. 'Programming Language :: Python :: 3',
  54. 'Programming Language :: Python :: 3.6',
  55. ],
  56. license='Apache 2.0',
  57. zip_safe=True,
  58. )