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

Move project metadata to pyproject.toml #269

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

mwtoews
Copy link
Member

@mwtoews mwtoews commented Jul 20, 2023

This PR moves the core project metadata to pyproject.toml (PEP 621) as supported by setuptools.

This is a close 1:1 conversion with a few minor differences:

  • Remove C/C++ classifiers, since this repo doesn't have any
  • Add Python 3.11 classifier (note that the CI infrastructure has not been updated, perhaps it should)
  • Use project.url table to show links for Documentation and Repository

The package name is repeated in setup.py since there are some legacy tools that assume the package name is there. For example the dependency graph is currently empty, but should be resolved.

Also setup.cfg is removed, moving flake8 configuration to .flake8.

@mwtoews mwtoews force-pushed the pyproject-toml-project-meta branch from 2c971bc to b112b96 Compare July 20, 2023 22:25
@hobu hobu merged commit 876853c into Toblerity:master Jul 20, 2023
36 checks passed
@mwtoews mwtoews deleted the pyproject-toml-project-meta branch July 20, 2023 23:28
@mwtoews
Copy link
Member Author

mwtoews commented Jul 20, 2023

The dependency graph is now resolved, listing a wide range of other projects.

@hobu
Copy link
Member

hobu commented Jul 21, 2023

The dependency graph is now resolved, listing a wide range of other projects.

Jeez, that's a lot of projects.

@adamjstewart
Copy link
Collaborator

Confirmed all differences to the generated wheels, looks good!

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.

3 participants