python-usb-protocol icon indicating copy to clipboard operation
python-usb-protocol copied to clipboard

Compare pep517 packaging: setuptools vs hatch

Open sarnold opened this issue 1 year ago • 0 comments

  • first commit is setuptools build backend with metadata in setup.cfg and configs in toml (uses setuptools-scm)
  • second commit moves metadata to toml and build backend to hatch (uses hatch-vcs)
  • second option includes (optional) hatch.toml environment config to run tests with coverage
  • also includes simple os/python matrix CI workflow

Note the hatch config still builds fine the usual (non-deprecated) commands, eg, python -m build still works as expected.

sarnold avatar Apr 14 '24 23:04 sarnold