Our python project has a requirements.txt file which lists some dependent module. We used to use
pip install -r requirements.txt
to install these dependencies. We are now using tox to build up the test environment. My question is that how can we install the modules via requirements.txt directly.
Followings are our tox.ini and requirements.txt:
tox.ini:
[tox] envlist=py27 [testenv] deps=pytest boto commands=py.test
rquirements.txt:
boto
Is any way to remove the "boto" from tox.ini and add something like
deps_files=requirements.txt
deps = -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-requires
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With