【问题标题】:Installing extra_requires with tox使用 tox 安装 extra_requires
【发布时间】:2016-10-11 22:49:49
【问题描述】:

如果我想为使用 Tox 测试的软件包安装额外的要求,我会做吗?

例如如果我正在测试一个名为 Websauna 的软件包并且我想安装

  websauna[test]

代替

  websauna

【问题讨论】:

    标签: pip setuptools pytest tox


    【解决方案1】:

    在 tox.ini 中:

    [testenv]
    extras = test
    

    Documentation

    【讨论】:

      猜你喜欢
      • 2018-03-18
      • 2023-01-18
      • 2023-04-06
      • 2012-10-26
      • 2013-05-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多