tox

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

泪湿孤枕 提交于 2019-11-30 14:56:09
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? 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 来源: https://stackoverflow.com/questions/26639947/how-do-you-install-pywin32-from-a-binary-file-in-tox-on-windows

Is it possible to use tox with conda-based Python installations?

旧巷老猫 提交于 2019-11-30 04:54:40
The Python testing tool tox seems to be designed to work with virtualenv. Can it also work on conda/anaconda-based Python installations? While tox can't make use of conda, you can use conda to "install" different Python versions where tox can find them (like it would find "normal" Python installations in those folders). The following is tested on Windows: You need virtualenv installed via pip in the root conda environment. I suspect this is the virtualenv that will be used by tox. (I had to install virtualenv using pip install virtualenv to get the virtualenv command to work, even though conda

Is it possible to use tox with conda-based Python installations?

限于喜欢 提交于 2019-11-29 01:56:24
问题 The Python testing tool tox seems to be designed to work with virtualenv. Can it also work on conda/anaconda-based Python installations? 回答1: While tox can't make use of conda, you can use conda to "install" different Python versions where tox can find them (like it would find "normal" Python installations in those folders). The following is tested on Windows: You need virtualenv installed via pip in the root conda environment. I suspect this is the virtualenv that will be used by tox. (I had

pip install test dependencies for tox from setup.py

情到浓时终转凉″ 提交于 2019-11-27 23:23:58
问题 I made my project with setuptools and I want to test it with tox . I listed dependencies in a variable and added to setup() parameter ( tests_require and extras_require ). My project needs to install all of the dependencies listed in tests_require to test but pip install is not installing them. I tried this but it did not work: install_command = pip install {opts} {packages}[tests] How can I install test dependencies without having to manage multiple dependency lists (i.e. Having all