File: intree_backend.py

package info (click to toggle)
python-pyproject-hooks 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: python: 973; sh: 5; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
from importlib.metadata import distribution


def get_requires_for_build_sdist(config_settings):
    dist = distribution("_test_bootstrap")  # discovered in backend-path
    ep = next(iter(dist.entry_points))
    return [ep.group, ep.name, ep.value]