pycorels icon indicating copy to clipboard operation
pycorels copied to clipboard

`setup.py install` is a bad idea

Open jamesmyatt opened this issue 6 years ago • 2 comments

pip install . is the correct way to install from source

jamesmyatt avatar Nov 25 '19 10:11 jamesmyatt

Hello! Thanks for your feedback. Could you elaborate on why you think that would be a better choice?

fingoldin avatar Nov 26 '19 05:11 fingoldin

Main issue is that setup.py install doesn't install the requirements. But there's more, e.g. see https://stackoverflow.com/a/15731459/21322.

In fact, the recommended syntax is python -m pip install . or python3 .... See https://docs.python.org/3/installing/index.html#installing-index

jamesmyatt avatar Jan 07 '20 16:01 jamesmyatt