【问题标题】:Can I run setup.py which uses setuptools with a flag and just get the requirements?我可以运行使用带有标志的 setuptools 的 setup.py 并获得要求吗?
【发布时间】:2015-08-01 08:12:27
【问题描述】:

我可以运行 setup.py,它使用带有标志的 setuptools 并获得要求吗?

【问题讨论】:

  • 我相信没有这样的命令,但你可以手动查看setup.py。依赖关系通过install_requires 关键字声明。安装脚本运行所需的包通过setup_requires 声明
  • 想了很多。这是我现在要解决的问题:github.com/cloudify-cosmo/python-dependency-verifier

标签: pip setuptools pypi


【解决方案1】:

目前我找不到真正的解决方案,所以这是我根据字符串搜索制作的一个 python 脚本来解决这个问题: https://github.com/cloudify-cosmo/python-dependency-verifier

【讨论】:

    猜你喜欢
    • 2011-06-05
    • 1970-01-01
    • 1970-01-01
    • 2010-11-27
    • 1970-01-01
    • 2018-01-12
    • 2016-09-15
    • 1970-01-01
    相关资源
    最近更新 更多