1

我有一个使用conda-build构建的私有 Python 包,它依赖于pywinauto。这个包有一些 Python 3.7.6 的问题,记录在这里:https ://github.com/pywinauto/pywinauto/issues/868 。该问题似乎已在 2020 年 3 月某个时间发布的 Python 3.7.7 中得到解决。

我的问题是现在我无法构建我的包,因为 conda-build 在构建和导入测试期间使用了最新版本的 Python 3.7(即 3.7.6)。有没有办法在 conda-build 配方中排除特定的 Python 版本,比如python_requireshttps://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires)关键字setup.py

4

0 回答 0