METADATA 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Metadata-Version: 2.0
  2. Name: contextlib2
  3. Version: 0.5.5
  4. Summary: Backports and enhancements for the contextlib module
  5. Home-page: http://contextlib2.readthedocs.org
  6. Author: Nick Coghlan
  7. Author-email: ncoghlan@gmail.com
  8. License: PSF License
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: License :: OSI Approved :: Python Software Foundation License
  12. Classifier: Programming Language :: Python :: 2
  13. Classifier: Programming Language :: Python :: 2.6
  14. Classifier: Programming Language :: Python :: 2.7
  15. Classifier: Programming Language :: Python :: 3
  16. Classifier: Programming Language :: Python :: 3.3
  17. Classifier: Programming Language :: Python :: 3.4
  18. Classifier: Programming Language :: Python :: 3.5
  19. .. image:: https://jazzband.co/static/img/badge.svg
  20. :target: https://jazzband.co/
  21. :alt: Jazzband
  22. .. image:: https://readthedocs.org/projects/contextlib2/badge/?version=latest
  23. :target: https://contextlib2.readthedocs.org/
  24. :alt: Latest Docs
  25. .. image:: https://img.shields.io/travis/jazzband/contextlib2/master.svg
  26. :target: http://travis-ci.org/jazzband/contextlib2
  27. .. image:: https://coveralls.io/repos/github/jazzband/contextlib2/badge.svg?branch=master
  28. :target: https://coveralls.io/github/jazzband/contextlib2?branch=master
  29. .. image:: https://landscape.io/github/jazzband/contextlib2/master/landscape.svg
  30. :target: https://landscape.io/github/jazzband/contextlib2/
  31. contextlib2 is a backport of the `standard library's contextlib
  32. module <https://docs.python.org/3.5/library/contextlib.html>`_ to
  33. earlier Python versions.
  34. It also serves as a real world proving ground for possible future
  35. enhancements to the standard library version.
  36. Development
  37. -----------
  38. contextlib2 has no runtime dependencies, but requires ``unittest2`` for testing
  39. on Python 2.x, as well as ``setuptools`` and ``wheel`` to generate universal
  40. wheel archives.
  41. Local testing is just a matter of running ``python test_contextlib2.py``.
  42. You can test against multiple versions of Python with
  43. `tox <https://tox.testrun.org/>`_::
  44. pip install tox
  45. tox
  46. Versions currently tested in both tox and Travis CI are:
  47. * CPython 2.6
  48. * CPython 2.7
  49. * CPython 3.4
  50. * CPython 3.5
  51. * CPython 3.6
  52. * CPython 3.7 (CPython development branch)
  53. * PyPy
  54. Versions currently tested only in tox are:
  55. * PyPy3
  56. This is due to an exception chaining compatibility bug that was fixed in
  57. the PyPy3 5.5 alpha release, while the version on Travis CI (as of April 2017)
  58. is still the older PyPy3 2.4.0 release.