Skip to content

Conversation

@jtrobles-cdd
Copy link
Member

@jtrobles-cdd jtrobles-cdd commented Aug 28, 2024

Setuptools has deprecated python setup.py sdist and python setup.py bdist_wheel in favor of python -m build.

This commit replaces the deprecated commands with the new python -m build command in Makefile, and moves the tool's configuration from setup.cfg to pyproject.toml.

See also: How to modernize a `setup.py`` based project? (GitHub)

Setuptools has deprecated `python setup.py sdist` and
`python setup.py bdist_wheel` in favor of `python -m build`.

This commit replaces the deprecated commands with the new
`python -m build` command in `Makefile`, and moves the tool's
configuration from `setup.cfg` to `pyproject.toml`.

See also:
[How to modernize a `setup.py`` based project?](https://packaging.python.org/en/latest/guides/modernize-setup-py-project/)
([GitHub](https://github.com/pypa/packaging.python.org/blob/afb69f3d/source/guides/modernize-setup-py-project.rst))
@jtrobles-cdd jtrobles-cdd added the task Task or chore label Aug 28, 2024
@jtrobles-cdd jtrobles-cdd self-assigned this Aug 28, 2024
@jtrobles-cdd jtrobles-cdd requested a review from a team as a code owner August 28, 2024 22:56
> A simple, correct Python build frontend.

- [Web Site](https://build.pypa.io/)
- [VCS Repository](https://github.com/pypa/build.git)
- [Documentation](https://build.pypa.io/)
- [Software Repository](https://pypi.org/project/build/)
@sonarqubecloud
Copy link

@jtrobles-cdd jtrobles-cdd merged commit 2f050fa into develop Aug 28, 2024
@jtrobles-cdd jtrobles-cdd deleted the task/replace-setuptools-sdist-bdist-wheel-with-build branch August 28, 2024 23:03
@jtrobles-cdd jtrobles-cdd mentioned this pull request Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

task Task or chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants