You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python packaging documentation explicitly warns that commands like python setup.py sdist bdist_wheel are deprecated and “MUST NOT be run anymore”.
Yet we use exactly that command in our publishing workflow.
The recommended replacement is the build module. This also ensures more reproducible builds by requiring build dependencies to be explicitly declared (in a pyproject.toml file) and building the project in an isolated virtual environment.
Python packaging documentation explicitly warns that commands like
python setup.py sdist bdist_wheel
are deprecated and “MUST NOT be run anymore”.Yet we use exactly that command in our publishing workflow.
The recommended replacement is the
build
module. This also ensures more reproducible builds by requiring build dependencies to be explicitly declared (in apyproject.toml
file) and building the project in an isolated virtual environment.I’ve moved sntools over to
build
last year and found it worked very well and was a bit cleaner, too.[Edit: See SNEWS2/BEMEWS#4 for another example.]
The text was updated successfully, but these errors were encountered: