Modernize packaging method used by project#30
Modernize packaging method used by project#30ngie-eign wants to merge 2 commits intomentalisttraceur:mainfrom
Conversation
This prevents files generated by pip, et al, from being checked in to the tree by accident. This is based on the GitHub canned `.gitignore` file for python projects. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
- Replace `setup.py` use with `pyproject.toml`. - Add `tox` integration. - Move files under appropriate directories to match modern python project design structure. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
|
@mentalisttraceur : thank you again for your work on the project. I figured this was the least I could do given it's a core part of one of my other small projects. |
|
Nice, thank you! This is a huge help to get me started on modern Python packaging. I'll hopefully be able to take a closer look within the next 7 days, kinda busy nowadays. What I'll probably do is merge this as-is, then I'll delete and incrementally re-add pieces as I have time to get acquainted with them. That way you get full credit in repo history, and I can still go through my usual overwrought process. Question: for the |
Awesome possum -- glad to be of assistance! There are so many flavors for doing this today -- I just picked the one that's pretty standard per the docs and doesn't involve a large dependency change to install packages (pipenv, pipe, uv, etc). Those tools all have their own respective pros, but introducing the project to the basics first seemed like the best course of action.
I hear you!
🙏!
All of the entries in the file are/should be the stock |
setup.pyuse withpyproject.toml.toxintegration.design structure.
Also add a
.gitignorefile while here.