如何配置 tox 使其产生轮子?

How do I configure tox so it produces a wheel?

根据文档,tox 创建 "a source distribution of the current project by invoking python setup.py sdist"。

如何配置 tox 使其生成一个轮子,然后将其用于测试?:

python setup.py bdist_wheel --universal

有一个 tox 插件似乎可以做到这一点。我还没有测试过,所以我不能亲自担保:

或者您可以阅读这些关于这个确切主题的讨论,其中提到了一些解决方法: