pypa-hatch/backend
Ofek Lev 72d57279ac release Hatchling v1.27.0 2024-11-26 12:14:33 -05:00
..
src/hatchling release Hatchling v1.27.0 2024-11-26 12:14:33 -05:00
tests Upgrade Ruff (#1085) 2023-12-05 13:14:00 -05:00
LICENSE.txt update licenses 2022-02-04 20:33:48 -05:00
README.md Update links to the new `ruff` project location (#886) 2023-06-17 16:24:32 -04:00
pyproject.toml Bump `packaging` to 24.2 (#1788) 2024-11-09 11:35:16 -05:00

README.md

Hatchling

Hatch logo
Package PyPI - Version PyPI - Downloads PyPI - Python Version
Meta Hatch project linting - Ruff code style - Black types - Mypy License - MIT GitHub Sponsors

This is the extensible, standards compliant build backend used by Hatch.

Usage

The following snippet must be present in your project's pyproject.toml file in order to use Hatchling as your build backend:

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

Then a build frontend like pip, build, or Hatch itself can build or install your project automatically:

# install using pip
pip install /path/to/project

# build
python -m build /path/to/project

# build with Hatch
hatch build /path/to/project

Documentation