How to configure setup.py tool to use wheeled packages

In my setup.py , I have a dependency for numpy (in install_requires ).

Is it possible to use the setup function to use wheel packages, not the source ones, and not to compile all of numpy?

Note: When I do pip install numpy , it downloads the numpy binary package. However, python setup.py install receives the source package.

+3
source share
1 answer

The wheel package was introduced in order to troubleshoot the source distributions used by setuptools . Although setuptools had its own Egg format for built-in distributions that were 8 years earlier than wheel , wheel is currently considered the standard for built-in and binary packaging for Python . To date, setuptools does not yet support the wheel format .

+2
source

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


All Articles