【问题标题】:How do you install pywin32 from a binary file in tox on Windows?如何在 Windows 上从 tox 中的二进制文件安装 pywin32?
【发布时间】:2014-10-29 20:22:19
【问题描述】:

我的应用程序依赖于我通过 Windows 二进制文件安装在我的系统环境中的 pywin32。如何在 Windows 上从 tox 中的二进制文件安装 pywin32 之类的模块?

【问题讨论】:

    标签: python testing pywin32 tox


    【解决方案1】:

    现在 PyPI 上有一个 pywin32 版本,可以用 pip 安装。它被称为pypiwin32,它使用二进制wheel 格式安装包。

    https://pypi.python.org/pypi/pypiwin32

    pip install pypiwin32
    

    或者,tox.ini

    [testenv]
    deps = pypiwin32
    

    【讨论】:

      猜你喜欢
      • 2012-05-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-23
      • 1970-01-01
      • 2013-08-12
      • 1970-01-01
      • 2018-04-12
      相关资源
      最近更新 更多