Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lwasser opened this issue Mar 21, 2024 · 1 comment
Labels
help wanted We welcome a contributor to work on this issue! thank you in advance! sprintable

Comments

@lwasser
Copy link
Member

lwasser commented Mar 21, 2024

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 lwasser added help wanted We welcome a contributor to work on this issue! thank you in advance! sprintable labels Apr 8, 2024
@lwasser lwasser moved this to Python Packaging in pyOpenSci Help Wanted Project Board Apr 8, 2024
@lwasser lwasser changed the title setuppy --> pyproject toml tutorial Create tutorial: migrate from setup.py --> pyproject.toml using hatch tutorial Apr 8, 2024
@lwasser
Copy link
Member Author

lwasser commented May 19, 2024

it loosk like this has been complete. closing it! thank you @miguelalizo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We welcome a contributor to work on this issue! thank you in advance! sprintable
Projects
None yet
Development

No branches or pull requests

1 participant