PHP 8.2.30
Preview: wheel.py Size: 616 B
/proc/self/root/lib/python3.8/site-packages/pip/_internal/distributions/wheel.py

# The following comment should be removed at some point in the future.
# mypy: disallow-untyped-defs=False

from pip._vendor import pkg_resources

from pip._internal.distributions.base import AbstractDistribution


class WheelDistribution(AbstractDistribution):
    """Represents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    """

    def get_pkg_resources_distribution(self):
        return list(pkg_resources.find_distributions(
                    self.req.source_dir))[0]

    def prepare_distribution_metadata(self, finder, build_isolation):
        pass

Directory Contents

Dirs: 2 × Files: 4

Name Size Perms Modified Actions
source DIR
- drwxr-xr-x 2024-03-21 10:19:28
Edit Download
- drwxr-xr-x 2024-03-21 10:19:28
Edit Download
1.08 KB lrw-r--r-- 2023-10-17 18:30:24
Edit Download
542 B lrw-r--r-- 2023-10-17 18:30:24
Edit Download
616 B lrw-r--r-- 2023-10-17 18:30:24
Edit Download
967 B lrw-r--r-- 2023-10-17 18:30:24
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).