如何从 Windows 上的 tox 中的二进制文件安装 pywin32? [英] How do you install pywin32 from a binary file in tox on Windows?

查看:54
本文介绍了如何从 Windows 上的 tox 中的二进制文件安装 pywin32?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

My application depends on pywin32 which I have installed in my system environment via Windows binary file. How do you install a module like pywin32 from a binary file in tox on Windows?

推荐答案

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

There is now a version of pywin32 on PyPI that can be installed with pip. It is called pypiwin32, and it installs the package using the binary wheel format.

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

pip install pypiwin32

或者,在tox.ini

[testenv]
deps = pypiwin32

这篇关于如何从 Windows 上的 tox 中的二进制文件安装 pywin32?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆