Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

doesn't setup.py develop use wheel for install_requires?

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.

like image 905
nemesisdesign Avatar asked Jun 06 '15 18:06

nemesisdesign


1 Answers

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:

  • Can python setup.py install use wheels?
  • How to instrument setup.py to use wheel packages
like image 138
erb Avatar answered Oct 05 '22 23:10

erb