File: _build_meta.py

package info (click to toggle)
incremental 24.7.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: python: 2,090; makefile: 7; sh: 3
file content (18 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
Comply with PEP 517's restictions on in-tree backends.

We use setuptools to package Incremental and want to activate
the in-tree Incremental plugin to manage its own version. To do
this we specify ``backend-path`` in our ``pyproject.toml``,
but PEP 517 requires that when ``backend-path`` is specified:

> The backend code MUST be loaded from one of the directories
> specified in backend-path (i.e., it is not permitted to
> specify backend-path and not have in-tree backend code).

We comply by re-publishing setuptools' ``build_meta``.
"""

from setuptools import build_meta

__all__ = ["build_meta"]