Skip to content

python-developer-tooling-handbook/demo-hatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python Package repository example using Hatch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages