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
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.
Now the above is the minimum we can do. If we want to go for hard mode, it sounds like we can
2. Put everything in pyproject.toml somehow
I.e. remove setup.py, setup.cfg and all those crazy files in the top level directory. So a bit like #1055, but using 'native' pypa tools instead of poetry. But that will require a bit more reading into all those PEPs.
I'd recommend doing 1) for a PyGMT v0.6.1, and maybe save 2) for PyGMT v0.7.0
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: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
The text was updated successfully, but these errors were encountered: