8

I have the impression that (using setuptools):

python setup.py develop

Won't use wheels when installing required packages (specified in install_requires).

Questions:

  1. is my impression correct?
  2. is there a way to force it to use wheel?

I am talking about this particular setup script.

2
  • 1
    python setup.py develop doesn't use WHEEL for install_requires. You may find more info @ pythonwheels.com Jun 6, 2015 at 18:25
  • I've encountered the same issue and pythonwheels.com provides no information on this. @PralhadNarsinhSonar
    – toes
    Mar 1, 2017 at 18:19

1 Answer 1

5

For whatever reason, setuptools simply wont use wheels. The likely explanation is that setuptools is older than wheels, and no one has updated it to use them.

Using pip install . works however, since pip is fine with wheels. In your case with python setup.py develop that would be pip install --editable ..

So, to answer your points:

  1. Yes, setup.py/setuptools wont use wheels.
  2. No, not at this time. But you could use pip instead of running setup.py directly.

Similar questions:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.