Does setup.py develop a use wheel for install_requires?

I got the impression that (using setuptools):

python setup.py develop 

Do not use disks when installing the necessary packages (specified in install_requires).

Questions:

  • Is my impression correct?
  • Is there a way to get him to use the wheel?

I am talking about this particular setup script .

+6
source share
1 answer

For some reason, setuptools just doesn't use wheels. The likely explanation is that setuptools are older than the wheels, and no one has updated it to use them.

Using pip install . works, however, since pip is great for wheels. In your case with python setup.py develop , which will be pip install --editable . .

So, to answer your questions:

  • Yes, setup.py/setuptools will not use wheels.
  • No, not at this time. But you can use pip instead of direct setup.py .

Related questions:

+1
source

Source: https://habr.com/ru/post/988628/


All Articles