uv/scripts/packages
konsti 9460398371
Build backend: Support data files (#9197)
Allow including data files in wheels, configured through
`pyproject.toml`. This configuration is currently only read in the build
backend. We'd only start using it in the frontend when we're adding a
fast path.

Each data entry is a directory, whose contents are copied to the
matching directory in the wheel in
`<name>-<version>.data/(purelib|platlib|headers|scripts|data)`. Upon
installation, this data is moved to its target location, as defined by
<https://docs.python.org/3.12/library/sysconfig.html#installation-paths>:
- `data`: Installed over the virtualenv environment root. Warning: This
may override existing files!
- `scripts`: Installed to the directory for executables, `<venv>/bin` on
Unix or `<venv>\Scripts` on Windows. This directory is added to PATH
when the virtual environment is activated or when using `uv run`, so
this data type can be used to install additional binaries. Consider
using `project.scripts` instead for starting Python code.
- `headers`: Installed to the include directory, where compilers
building Python packages with this package as built requirement will
search for header files.
- `purelib` and `platlib`: Installed to the `site-packages` directory.
It is not recommended to uses these two options.

For simplicity, for now we're just defining a directory to be copied for
each data directory, while using the glob based include mechanism in the
background. We thereby introduce a third mechanism next to the main
includes and the PEP 639 mechanism, which is not what we should finalize
on.
2024-11-19 12:59:59 +01:00
..
anyio_local Consider installed packages during resolution (#2596) 2024-03-28 13:49:17 -05:00
black_editable Editable installs for uv tool (#5454) 2024-07-26 16:30:15 -04:00
built-by-uv Build backend: Support data files (#9197) 2024-11-19 12:59:59 +01:00
dependent_locals Consider installed packages during resolution (#2596) 2024-03-28 13:49:17 -05:00
deptry_reproducer Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
hatchling_dynamic Avoid prepare_metadata_for_build_wheel calls for Hatch packages with dynamic dependencies (#2645) 2024-03-25 22:26:51 +00:00
hatchling_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
keyring_test_plugin Add integration test coverage for keyring authentication (#3067) 2024-04-17 12:23:26 -05:00
poetry_editable Move maturin test coverage into CI (#3714) 2024-05-21 19:17:48 +00:00
root_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
setup_cfg_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
setup_py_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
setuptools_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
README.md Use prettier to format the documentation (#5708) 2024-08-02 08:58:31 -05:00

packages

A collection of packages used to test editable installs and bespoke behaviors in packaging setups and definitions.