Skip to content

Define the build backend used to build the project - #750

Merged
synweap15 merged 1 commit into
Bogdanp:masterfrom
LincolnPuzey:define_build_backend
Aug 4, 2025
Merged

synweap15 merged 1 commit into
Bogdanp:masterfrom
LincolnPuzey:define_build_backend

Conversation

@LincolnPuzey

Copy link
Copy Markdown
Collaborator

For now, we are still using setup.py as the build configuration. Build frontends default to using setuptools when the build backend is not defined like this, so this is sort of redundant, but it is still good practice, and a first step to getting rid of setup.py (if we want to).

See PEP 517/518,
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

For now, we are still using `setup.py` as the build configuration.
Build frontends default to using setuptools when the build backend is not defined like this, so this is sort of redundant,
but it is still good practice, and a first step to getting rid of `setup.py` (if we want to).

See PEP 517/518,
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
@LincolnPuzey LincolnPuzey mentioned this pull request Aug 4, 2025
@synweap15
synweap15 merged commit ab96275 into Bogdanp:master Aug 4, 2025
@LincolnPuzey

Copy link
Copy Markdown
Collaborator Author

Thanks @synweap15.
Noting you can 'test' this by inspecting the build output from python -m build.
I have compared before/after this change, there doesn't appear to be any change.

@LincolnPuzey
LincolnPuzey deleted the define_build_backend branch August 20, 2025 08:00
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.

2 participants