Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 513 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 513 Bytes

Hatch

This package is an example project for building a Python package (i.e., wheel or sdist). It relies on Hatch as a build backend with pyproject.toml for configuration.

Commands:

  • Setting up the project environment:
hatch env create
  • Activating the project environment:
hatch shell
  • Run code in the project environment:
hatch run python -c "import demo"
  • Build:
hatch build
  • Upload to PyPI:
hatch publish