Metadata-Version: 2.4
Name: pkg-resources-backport
Version: 1.0.1
Summary: snapshot of last pkg_resources module from setuptools
Author-email: Python Packaging Authority <distutils-sig@python.org>
Maintainer: Autumn Jolitz
License-Expression: MIT
Project-URL: Homepage, https://github.com/autumnjolitz/pkg-resources-backport
Keywords: pkg-resources,pkgresources,setuptools
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Archiving :: Packaging
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: setuptools>=81.0.0
Provides-Extra: tests
Requires-Dist: pytest!=8.1.*,>=6; extra == "tests"
Requires-Dist: virtualenv>=13.0.0; extra == "tests"
Requires-Dist: wheel>=0.44.0; extra == "tests"
Requires-Dist: pip>=19.1; extra == "tests"
Requires-Dist: packaging>=24.2; extra == "tests"
Requires-Dist: jaraco.envs>=2.2; extra == "tests"
Requires-Dist: pytest-xdist>=3; extra == "tests"
Requires-Dist: jaraco.path>=3.7.2; extra == "tests"
Requires-Dist: build[virtualenv]>=1.0.3; extra == "tests"
Requires-Dist: filelock>=3.4.0; extra == "tests"
Requires-Dist: ini2toml[lite]>=0.14; extra == "tests"
Requires-Dist: tomli-w>=1.0.0; extra == "tests"
Requires-Dist: pytest-timeout; extra == "tests"
Requires-Dist: pytest-perf; sys_platform != "cygwin" and extra == "tests"
Requires-Dist: jaraco.develop>=7.21; (python_version >= "3.9" and sys_platform != "cygwin") and extra == "tests"
Requires-Dist: pytest-home>=0.5; extra == "tests"
Requires-Dist: pytest-subprocess; extra == "tests"
Requires-Dist: pyproject-hooks!=1.1; extra == "tests"
Requires-Dist: jaraco.test>=5.5; extra == "tests"
Dynamic: license-file

========================
pkg-resources backport
========================

For when your runtime dependencies absolutely require ``pkg-resources`` but you're unable to downgrade to setuptools 80.10.x.

.. code:: console

    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python -m pip install -U setuptools
    Requirement already satisfied: setuptools in /Users/autumn/.virtualenvs/cpython312/lib/python3.12/site-packages (80.9.0)
    ... /snip
    Successfully installed setuptools-82.0.0
    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python
    Python 3.12.12 (main, Oct  9 2025, 11:07:00) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pkg_resources
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ModuleNotFoundError: No module named 'pkg_resources'
    >>> ^D
    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# cd pkg-resources-backport
    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software/pkg-resources-backport# python -m pip install -e .
    Obtaining file:///Users/autumn/software/pkg-resources-backport
    ... /snip
    Successfully built pkg-resources-backport
    Installing collected packages: pkg-resources-backport
    Successfully installed pkg-resources-backport-1.0.0
    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software/pkg-resources-backport# cd ..
    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software# python
    Python 3.12.12 (main, Oct  9 2025, 11:07:00) [Clang 17.0.0 (clang-1700.4.4.1)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pkg_resources
    >>> ^D
    (cpython312) autumn@JudgmentOfCarrion{arm64}:~/software#
