You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
3.2 KiB

4 years ago
  1. Metadata-Version: 2.0
  2. Name: pathlib2
  3. Version: 2.3.5
  4. Summary: Object-oriented filesystem paths
  5. Home-page: https://github.com/mcmtroffaes/pathlib2
  6. Author: Matthias C. M. Troffaes
  7. Author-email: matthias.troffaes@gmail.com
  8. License: MIT
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: MIT License
  13. Classifier: Operating System :: OS Independent
  14. Classifier: Programming Language :: Python
  15. Classifier: Programming Language :: Python :: 2
  16. Classifier: Programming Language :: Python :: 3
  17. Classifier: Programming Language :: Python :: 2.6
  18. Classifier: Programming Language :: Python :: 2.7
  19. Classifier: Programming Language :: Python :: 3.4
  20. Classifier: Programming Language :: Python :: 3.5
  21. Classifier: Programming Language :: Python :: 3.6
  22. Classifier: Programming Language :: Python :: 3.7
  23. Classifier: Topic :: Software Development :: Libraries
  24. Classifier: Topic :: System :: Filesystems
  25. Requires-Dist: six
  26. Requires-Dist: scandir; python_version<"3.5"
  27. The `old pathlib <https://bitbucket.org/pitrou/pathlib>`_
  28. module on bitbucket is in bugfix-only mode.
  29. The goal of pathlib2 is to provide a backport of
  30. `standard pathlib <http://docs.python.org/dev/library/pathlib.html>`_
  31. module which tracks the standard library module,
  32. so all the newest features of the standard pathlib can be
  33. used also on older Python versions.
  34. Download
  35. --------
  36. Standalone releases are available on PyPI:
  37. http://pypi.python.org/pypi/pathlib2/
  38. Development
  39. -----------
  40. The main development takes place in the Python standard library: see
  41. the `Python developer's guide <http://docs.python.org/devguide/>`_.
  42. In particular, new features should be submitted to the
  43. `Python bug tracker <http://bugs.python.org/>`_.
  44. Issues that occur in this backport, but that do not occur not in the
  45. standard Python pathlib module can be submitted on
  46. the `pathlib2 bug tracker <https://github.com/mcmtroffaes/pathlib2/issues>`_.
  47. Documentation
  48. -------------
  49. Refer to the
  50. `standard pathlib <http://docs.python.org/dev/library/pathlib.html>`_
  51. documentation.
  52. Known Issues
  53. ------------
  54. For historic reasons, pathlib2 still uses bytes to represent file paths internally.
  55. Unfortunately, on Windows with Python 2.7, the file system encoder (``mcbs``)
  56. has only poor support for non-ascii characters,
  57. and can silently replace non-ascii characters without warning.
  58. For example, ``u'тест'.encode(sys.getfilesystemencoding())`` results in ``????``
  59. which is obviously completely useless.
  60. Therefore, on Windows with Python 2.7, until this problem is fixed upstream,
  61. unfortunately you cannot rely on pathlib2 to support the full unicode range for filenames.
  62. See `issue #56 <https://github.com/mcmtroffaes/pathlib2/issues/56>`_ for more details.
  63. .. |travis| image:: https://travis-ci.org/mcmtroffaes/pathlib2.png?branch=develop
  64. :target: https://travis-ci.org/mcmtroffaes/pathlib2
  65. :alt: travis-ci
  66. .. |appveyor| image:: https://ci.appveyor.com/api/projects/status/baddx3rpet2wyi2c?svg=true
  67. :target: https://ci.appveyor.com/project/mcmtroffaes/pathlib2
  68. :alt: appveyor
  69. .. |codecov| image:: https://codecov.io/gh/mcmtroffaes/pathlib2/branch/develop/graph/badge.svg
  70. :target: https://codecov.io/gh/mcmtroffaes/pathlib2
  71. :alt: codecov