Repository navigation
Move packaging to pyproject.toml - #108
Open
stephenfin wants to merge 10 commits into
Open
stephenfin wants to merge 10 commits into
stephenfin wants to merge 10 commits into
Conversation
Use the replacements for setup.py build and setup.py install. Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Stephen Finucane <stephen@that.guru>
We were setting this to 0 which is already the default. It is also irrelevant since we are building binary wheels. Signed-off-by: Stephen Finucane <stephen@that.guru>
We only populate [build-system] for now. Signed-off-by: Stephen Finucane <stephen@that.guru>
We no longer need to vendor this. Signed-off-by: Stephen Finucane <stephen@that.guru>
Note that we use the older, deprecated 'project.license' configuration to avoid breaking builds on Python 3.8 (whose newest setuptools version does not support this). Signed-off-by: Stephen Finucane <stephen@that.guru>
This is kept separate since it's a little more complicated. We also remove the `platforms='any'` definition since this is legacy that has no meaning nowadays. Signed-off-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Stephen Finucane <stephen@that.guru>
This removes our last user of setup.cfg. Signed-off-by: Stephen Finucane <stephen@that.guru>
We already handle this via requires-python. Signed-off-by: Stephen Finucane <stephen@that.guru>
stephenfin
force-pushed
the
packaging
branch
from
November 12, 2026 23:08
b0d42f5 to
404b696
Compare
stephenfin
marked this pull request as ready for review
November 13, 2026 16:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Well, as much of it as we can. This is quite a large PR, so I've broken it down into a series of individual commits. I think it would be much easier to review this that way.
Commits
Stop using setup.pyMove flake8 configuration to .flake8 fileRemove [bdist_wheel] universalAdd minimal pyproject.tomlMove versioneer to a build-time dependencyMove (most) packaging metadata to pyproject.tomlMove package data definition to pyproject.tomlMove versioneer configuration to pyproject.tomlMove pytest configuration to pyproject.tomlRemove obsolete Windows Python version check