retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup.py install has been deprecated in favour of pip install

Pi-Cla opened this issue · comments

Recently when packaging this for openSUSE I noticed this curious message:

[    5s] !!
[    5s]
[    5s]         ********************************************************************************
[    5s]         Please avoid running ``setup.py`` directly.
[    5s]         Instead, use pypa/build, pypa/installer or other
[    5s]         standards-based tools.
[    5s]
[    5s]         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
[    5s]         ********************************************************************************
[    5s]
[    5s] !!

Which links to a blogpost talking about how directly invoking setup.py is now deprecated and lists some alternative.

It seems for our usecase they recommend we switch to pip install instead

oops nvm