Skip to content
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

chore: Adopt pyproject.toml #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

effigies
Copy link

@effigies effigies commented Feb 16, 2025

This is a straight translation of setup.py to pyproject.toml using:

uvx setuptools-py2cfg >> setup.cfg
uvx 'ini2toml[full]' -o pyproject.toml setup.cfg

Two changes needed:

  1. Add content-type to project.readme table.
  2. Remove Download URL, since interpolating the version string isn't feasible. I added a link to the GitHub as an alternative.

The main reason I did this was because the presence of requires-python in pyproject.toml is used by several tools to determine what features can be assumed when linting a project.

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.

1 participant