问题描述
我使用 setup.py 来声明要包含在我的解决方案包中的 Python 库。
有没有办法在不安装包的情况下使用 setup.py 来检查库的兼容性?因为现在我只能在尝试安装我的包时检测到冲突。
谢谢
解决方法
我想如果我是你,我会尝试使用 dephell。我不认为它可以在不调整的情况下给你一个明确的答案,但它可能会帮助你更接近你正在寻找的信息。例如,您可以尝试以下命令:
dephell deps check --from setuppy
-- https://dephell.readthedocs.io/cmd-deps-check.html
或
dephell deps tree --from setuppy