Skip to content

python setup.py gives deprecation warnings #1797

@seisman

Description

@seisman

In our CI workflow, we run commands like python setup.py sdist --formats=zip to build source or binary distributions. The command gives the following deprecation warnings:

SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.

It seems python setup.py is no longer recommended to build distributions.

Reference: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary

Metadata

Metadata

Assignees

Labels

maintenanceBoring but important stuff for the core devs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions