Skip to content

Latest commit

 

History

History
 
 

backend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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