8000 Update build system to flit_core by takluyver · Pull Request #22 · grst/reportsrender · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Update build system to flit_core #22

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Update build system to flit_core #22

merged 1 commit into from
Oct 28, 2024

Conversation

takluyver
Copy link
Contributor

Hi, I'm opening this pull request as part of a push to modernise how packages use Flit as a Python build backend.

Using flit_core as the backend in place of flit is recommended in the docs, and will make it faster for tools like pip & build to build your package from source, as it has fewer dependencies to install. See Flit issue #698 for additional info about this.

Specifying an explicit version range (>=2,<4) helps to ensure that your package can still be readily built from source despite changes in future major versions of Flit, because it will still use version 3.x. For instance, a future version is likely to drop support for the [tool.flit.metadata] table, in favour of the now-standardised [project] table for metadata. This is also in the docs, along with details of which versions support which features.

Most users probably install your package from a pre-built 'wheel' on PyPI, so this changes won't affect them at all. But people who install from a git checkout, for instance, will benefit.

@grst grst merged commit 913fc9d into grst:master Oct 28, 2024
@takluyver takluyver deleted the patch-1 branch October 28, 2024 15:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0