python-package-guide icon indicating copy to clipboard operation
python-package-guide copied to clipboard

Create tutorial: migrate from setup.py --> pyproject.toml using hatch tutorial

Open lwasser opened this issue 1 year ago • 0 comments

If you use hatch, it will migrate a setup.py file or setup.cfg metadata to a pyproject.toml file for you.

I had originally created a tutorial for this in this pr .

But because Hatch will do this for you, we should create a tutorial that shows how hatch can take a setup.py file and help you migrate to pyproject.toml

  • this would involve someone creating a package that has a setup.py file setup.
  • Then walk the user through the steps of migrating that to pyproject.toml using hatch --init

A bit more information on this can be found in the hatch docs here

lwasser avatar Mar 21 '24 16:03 lwasser