Skip to content

Convert setup.py and setup.cfg into a pyproject.toml#535

Draft
sbrunner wants to merge 5 commits intomainfrom
pyproject.toml
Draft

Convert setup.py and setup.cfg into a pyproject.toml#535
sbrunner wants to merge 5 commits intomainfrom
pyproject.toml

Conversation

@sbrunner
Copy link
Contributor

To make it work with the last setuptools version

Copilot AI review requested due to automatic review settings February 10, 2026 09:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the project’s packaging configuration from setup.py/setup.cfg to pyproject.toml to support modern setuptools/PEP 517 builds.

Changes:

  • Removed legacy setup.py and setup.cfg packaging/configuration.
  • Added PEP 621 project metadata, dependencies/extras, and tool configuration to pyproject.toml.
  • Minor modernization in deform/exception.py and updated release instructions to reference pyproject.toml.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
setup.py Removed legacy setuptools setup script.
setup.cfg Removed legacy configuration (pytest, babel, check-manifest, aliases).
pyproject.toml Added project metadata, dependencies/extras, and tool configs (pytest, babel, check-manifest, black, isort).
deform/exception.py Replaced explicit base-class init with super().__init__().
RELEASING.txt Updated release instructions to reference pyproject.toml and adjusted tooling notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

To make it work with the last setuptools version
@sbrunner sbrunner marked this pull request as draft February 10, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants