pkg-resources-backport 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. pkg_resources_backport-1.0.0/LICENSE +17 -0
  2. pkg_resources_backport-1.0.0/PKG-INFO +77 -0
  3. pkg_resources_backport-1.0.0/README.rst +34 -0
  4. pkg_resources_backport-1.0.0/pkg_resources/__init__.py +3705 -0
  5. pkg_resources_backport-1.0.0/pkg_resources/_vendor/autocommand/__init__.py +27 -0
  6. pkg_resources_backport-1.0.0/pkg_resources/_vendor/autocommand/autoasync.py +142 -0
  7. pkg_resources_backport-1.0.0/pkg_resources/_vendor/autocommand/autocommand.py +70 -0
  8. pkg_resources_backport-1.0.0/pkg_resources/_vendor/autocommand/automain.py +59 -0
  9. pkg_resources_backport-1.0.0/pkg_resources/_vendor/autocommand/autoparse.py +333 -0
  10. pkg_resources_backport-1.0.0/pkg_resources/_vendor/autocommand/errors.py +23 -0
  11. pkg_resources_backport-1.0.0/pkg_resources/_vendor/backports/__init__.py +1 -0
  12. pkg_resources_backport-1.0.0/pkg_resources/_vendor/backports/tarfile/__init__.py +2937 -0
  13. pkg_resources_backport-1.0.0/pkg_resources/_vendor/backports/tarfile/__main__.py +5 -0
  14. pkg_resources_backport-1.0.0/pkg_resources/_vendor/backports/tarfile/compat/__init__.py +0 -0
  15. pkg_resources_backport-1.0.0/pkg_resources/_vendor/backports/tarfile/compat/py38.py +24 -0
  16. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/__init__.py +1191 -0
  17. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_adapters.py +136 -0
  18. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_collections.py +34 -0
  19. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_compat.py +56 -0
  20. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_functools.py +135 -0
  21. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_itertools.py +171 -0
  22. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_meta.py +71 -0
  23. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_text.py +99 -0
  24. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/_typing.py +15 -0
  25. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/compat/__init__.py +0 -0
  26. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/compat/py311.py +22 -0
  27. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/compat/py39.py +42 -0
  28. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/diagnose.py +21 -0
  29. pkg_resources_backport-1.0.0/pkg_resources/_vendor/importlib_metadata/py.typed +0 -0
  30. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/context/__init__.py +367 -0
  31. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/context/py.typed +0 -0
  32. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/functools/__init__.py +722 -0
  33. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/functools/__init__.pyi +123 -0
  34. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/functools/py.typed +0 -0
  35. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/text/__init__.py +647 -0
  36. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/text/layouts.py +25 -0
  37. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/text/show-newlines.py +32 -0
  38. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/text/strip-prefix.py +21 -0
  39. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/text/to-dvorak.py +5 -0
  40. pkg_resources_backport-1.0.0/pkg_resources/_vendor/jaraco/text/to-qwerty.py +5 -0
  41. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/__init__.py +6 -0
  42. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/__init__.pyi +2 -0
  43. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/more.py +5303 -0
  44. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/more.pyi +949 -0
  45. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/py.typed +0 -0
  46. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/recipes.py +1471 -0
  47. pkg_resources_backport-1.0.0/pkg_resources/_vendor/more_itertools/recipes.pyi +205 -0
  48. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/__init__.py +15 -0
  49. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/_elffile.py +108 -0
  50. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/_manylinux.py +262 -0
  51. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/_musllinux.py +85 -0
  52. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/_parser.py +365 -0
  53. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/_structures.py +69 -0
  54. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/_tokenizer.py +193 -0
  55. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/licenses/__init__.py +147 -0
  56. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/licenses/_spdx.py +799 -0
  57. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/markers.py +388 -0
  58. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/metadata.py +978 -0
  59. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/py.typed +0 -0
  60. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/pylock.py +635 -0
  61. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/requirements.py +86 -0
  62. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/specifiers.py +1068 -0
  63. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/tags.py +651 -0
  64. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/utils.py +158 -0
  65. pkg_resources_backport-1.0.0/pkg_resources/_vendor/packaging/version.py +792 -0
  66. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/__init__.py +631 -0
  67. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/__main__.py +55 -0
  68. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/android.py +249 -0
  69. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/api.py +299 -0
  70. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/macos.py +146 -0
  71. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/py.typed +0 -0
  72. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/unix.py +272 -0
  73. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/version.py +34 -0
  74. pkg_resources_backport-1.0.0/pkg_resources/_vendor/platformdirs/windows.py +272 -0
  75. pkg_resources_backport-1.0.0/pkg_resources/_vendor/tomli/__init__.py +8 -0
  76. pkg_resources_backport-1.0.0/pkg_resources/_vendor/tomli/_parser.py +782 -0
  77. pkg_resources_backport-1.0.0/pkg_resources/_vendor/tomli/_re.py +119 -0
  78. pkg_resources_backport-1.0.0/pkg_resources/_vendor/tomli/_types.py +10 -0
  79. pkg_resources_backport-1.0.0/pkg_resources/_vendor/tomli/py.typed +1 -0
  80. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/__init__.py +3 -0
  81. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/__main__.py +25 -0
  82. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_bdist_wheel.py +616 -0
  83. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_commands/__init__.py +153 -0
  84. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_commands/convert.py +337 -0
  85. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_commands/pack.py +84 -0
  86. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_commands/tags.py +140 -0
  87. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_commands/unpack.py +30 -0
  88. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_metadata.py +184 -0
  89. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/_setuptools_logging.py +26 -0
  90. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/bdist_wheel.py +26 -0
  91. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/macosx_libfile.py +486 -0
  92. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/metadata.py +17 -0
  93. pkg_resources_backport-1.0.0/pkg_resources/_vendor/wheel/wheelfile.py +241 -0
  94. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/__init__.py +456 -0
  95. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/_functools.py +20 -0
  96. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/compat/__init__.py +0 -0
  97. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/compat/overlay.py +37 -0
  98. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/compat/py310.py +13 -0
  99. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/compat/py313.py +34 -0
  100. pkg_resources_backport-1.0.0/pkg_resources/_vendor/zipp/glob.py +116 -0
  101. pkg_resources_backport-1.0.0/pkg_resources/_version.py +1 -0
  102. pkg_resources_backport-1.0.0/pkg_resources/py.typed +0 -0
  103. pkg_resources_backport-1.0.0/pkg_resources_backport.egg-info/PKG-INFO +77 -0
  104. pkg_resources_backport-1.0.0/pkg_resources_backport.egg-info/SOURCES.txt +107 -0
  105. pkg_resources_backport-1.0.0/pkg_resources_backport.egg-info/dependency_links.txt +1 -0
  106. pkg_resources_backport-1.0.0/pkg_resources_backport.egg-info/requires.txt +26 -0
  107. pkg_resources_backport-1.0.0/pkg_resources_backport.egg-info/top_level.txt +1 -0
  108. pkg_resources_backport-1.0.0/pyproject.toml +96 -0
  109. pkg_resources_backport-1.0.0/setup.cfg +4 -0
@@ -0,0 +1,17 @@
1
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2
+ of this software and associated documentation files (the "Software"), to
3
+ deal in the Software without restriction, including without limitation the
4
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
5
+ sell copies of the Software, and to permit persons to whom the Software is
6
+ furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in
9
+ all copies or substantial portions of the Software.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
17
+ IN THE SOFTWARE.
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: pkg-resources-backport
3
+ Version: 1.0.0
4
+ Summary: snapshot of last pkg_resources module from setuptools
5
+ Author-email: Python Packaging Authority <distutils-sig@python.org>
6
+ Maintainer: Autumn Jolitz
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://github.com/autumnjolitz/pkg-resources-backport
9
+ Keywords: pkg-resources,pkgresources,setuptools
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
+ Classifier: Topic :: System :: Archiving :: Packaging
16
+ Classifier: Topic :: System :: Systems Administration
17
+ Classifier: Topic :: Utilities
18
+ Requires-Python: >=3.9
19
+ Description-Content-Type: text/x-rst
20
+ License-File: LICENSE
21
+ Requires-Dist: setuptools>=81.0.0
22
+ Provides-Extra: tests
23
+ Requires-Dist: pytest!=8.1.*,>=6; extra == "tests"
24
+ Requires-Dist: virtualenv>=13.0.0; extra == "tests"
25
+ Requires-Dist: wheel>=0.44.0; extra == "tests"
26
+ Requires-Dist: pip>=19.1; extra == "tests"
27
+ Requires-Dist: packaging>=24.2; extra == "tests"
28
+ Requires-Dist: jaraco.envs>=2.2; extra == "tests"
29
+ Requires-Dist: pytest-xdist>=3; extra == "tests"
30
+ Requires-Dist: jaraco.path>=3.7.2; extra == "tests"
31
+ Requires-Dist: build[virtualenv]>=1.0.3; extra == "tests"
32
+ Requires-Dist: filelock>=3.4.0; extra == "tests"
33
+ Requires-Dist: ini2toml[lite]>=0.14; extra == "tests"
34
+ Requires-Dist: tomli-w>=1.0.0; extra == "tests"
35
+ Requires-Dist: pytest-timeout; extra == "tests"
36
+ Requires-Dist: pytest-perf; sys_platform != "cygwin" and extra == "tests"
37
+ Requires-Dist: jaraco.develop>=7.21; (python_version >= "3.9" and sys_platform != "cygwin") and extra == "tests"
38
+ Requires-Dist: pytest-home>=0.5; extra == "tests"
39
+ Requires-Dist: pytest-subprocess; extra == "tests"
40
+ Requires-Dist: pyproject-hooks!=1.1; extra == "tests"
41
+ Requires-Dist: jaraco.test>=5.5; extra == "tests"
42
+ Dynamic: license-file
43
+
44
+ ========================
45
+ pkg-resources backport
46
+ ========================
47
+
48
+ For when your runtime dependencies absolutely require ``pkg-resources`` but you're unable to downgrade to setuptools 80.10.x.
49
+
50
+ .. code:: console
51
+
52
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python -m pip install -U setuptools
53
+ Requirement already satisfied: setuptools in /Users/autumn/.virtualenvs/cpython312/lib/python3.12/site-packages (80.9.0)
54
+ ... /snip
55
+ Successfully installed setuptools-82.0.0
56
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python
57
+ Python 3.12.12 (main, Oct 9 2025, 11:07:00) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
58
+ Type "help", "copyright", "credits" or "license" for more information.
59
+ >>> import pkg_resources
60
+ Traceback (most recent call last):
61
+ File "<stdin>", line 1, in <module>
62
+ ModuleNotFoundError: No module named 'pkg_resources'
63
+ >>> ^D
64
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# cd pkg-resources-backport
65
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software/pkg-resources-backport# python -m pip install -e .
66
+ Obtaining file:///Users/autumn/software/pkg-resources-backport
67
+ ... /snip
68
+ Successfully built pkg-resources-backport
69
+ Installing collected packages: pkg-resources-backport
70
+ Successfully installed pkg-resources-backport-1.0.0
71
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software/pkg-resources-backport# cd ..
72
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python
73
+ Python 3.12.12 (main, Oct 9 2025, 11:07:00) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
74
+ Type "help", "copyright", "credits" or "license" for more information.
75
+ >>> import pkg_resources
76
+ >>> ^D
77
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software#
@@ -0,0 +1,34 @@
1
+ ========================
2
+ pkg-resources backport
3
+ ========================
4
+
5
+ For when your runtime dependencies absolutely require ``pkg-resources`` but you're unable to downgrade to setuptools 80.10.x.
6
+
7
+ .. code:: console
8
+
9
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python -m pip install -U setuptools
10
+ Requirement already satisfied: setuptools in /Users/autumn/.virtualenvs/cpython312/lib/python3.12/site-packages (80.9.0)
11
+ ... /snip
12
+ Successfully installed setuptools-82.0.0
13
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python
14
+ Python 3.12.12 (main, Oct 9 2025, 11:07:00) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
15
+ Type "help", "copyright", "credits" or "license" for more information.
16
+ >>> import pkg_resources
17
+ Traceback (most recent call last):
18
+ File "<stdin>", line 1, in <module>
19
+ ModuleNotFoundError: No module named 'pkg_resources'
20
+ >>> ^D
21
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# cd pkg-resources-backport
22
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software/pkg-resources-backport# python -m pip install -e .
23
+ Obtaining file:///Users/autumn/software/pkg-resources-backport
24
+ ... /snip
25
+ Successfully built pkg-resources-backport
26
+ Installing collected packages: pkg-resources-backport
27
+ Successfully installed pkg-resources-backport-1.0.0
28
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software/pkg-resources-backport# cd ..
29
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python
30
+ Python 3.12.12 (main, Oct 9 2025, 11:07:00) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
31
+ Type "help", "copyright", "credits" or "license" for more information.
32
+ >>> import pkg_resources
33
+ >>> ^D
34
+ (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software#