pypa-hatch/backend
Ofek Lev 3f92634aa8 release Hatchling v1.16.0 2023-05-10 22:27:54 -04:00
..
scripts Add trove-classifiers as a dependency (#807) 2023-04-02 15:43:18 -04:00
src/hatchling release Hatchling v1.16.0 2023-05-10 22:27:54 -04:00
tests Fix lint (#708) 2023-01-07 11:50:21 -05:00
LICENSE.txt update licenses 2022-02-04 20:33:48 -05:00
README.md add Ruff badge 2023-01-04 22:36:59 -05:00
pyproject.toml Add trove-classifiers as a dependency (#807) 2023-04-02 15:43:18 -04: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