如何使用setup.py来使用wheel包

时间:2017-02-16 15:10:05

标签: python setuptools setup.py python-wheel

setup.pynumpy {依据install_requires}。

是否可以检测setup函数使用wheel包而不是源代码而不编译整个numpy?

注意: 当我pip install numpy时,它会下载numpy的二进制包。但是python setup.py install获取源包。

1 个答案:

答案 0 :(得分:2)

wheel包是introduced,目的是解决setuptools使用的源代码分发问题。虽然setuptools的内置版本的Egg格式早于wheel 8年,但wheel目前为considered the standard for built and binary packaging for Python。截至今天,setuptools don't yet support the wheel format

相关问题