Skip to content

Modernize packaging method used by project#30

Open
ngie-eign wants to merge 2 commits intomentalisttraceur:mainfrom
ngie-eign:pyproject-toml
Open

Modernize packaging method used by project#30
ngie-eign wants to merge 2 commits intomentalisttraceur:mainfrom
ngie-eign:pyproject-toml

Conversation

@ngie-eign
Copy link
Copy Markdown

  • Replace setup.py use with pyproject.toml.
  • Add tox integration.
  • Move files under appropriate directories to match modern python project
    design structure.

Also add a .gitignore file while here.

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>
@ngie-eign
Copy link
Copy Markdown
Author

@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.

@mentalisttraceur
Copy link
Copy Markdown
Owner

mentalisttraceur commented Mar 22, 2026

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 .gitignore, can you share which lines were specifically useful to you in this repo/work, vs which ones are just generic/futureproofing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants