【发布时间】:2016-02-07 19:16:33
【问题描述】:
我尝试运行 python setup.py test 而不运行 build_ext 以确保任何 C 扩展和项目元数据都是最新的?
如下所述: https://pythonhosted.org/setuptools/setuptools.html#test-build-package-and-run-a-unittest-suite::
python setup.py test
首先运行 build_ext,然后运行 unittest。
我有很多东西要编译,有时我想在没有 build_ext 的情况下运行测试(我知道我没有修改编译的想法)
这可能吗?
【问题讨论】:
标签: python setuptools distutils python-unittest