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.
- 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