How do you install pywin32 from a binary file in tox on Windows?

BP_ picture BP_ · Oct 29, 2014 · Viewed 11.4k times · Source

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?

Answer

Christian Long picture Christian Long · Mar 16, 2015

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

Or, in tox.ini

[testenv]
deps = pypiwin32