You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
However, peep doesn't accept passing the requirements file this way (it needs a space between the two: -r requirements.txt. Pip does accept this though.
If you were to add this space, to have peep accept it, then it would be tox's turn to fail, calling the following command: (notice there is only one parameter for '-r requirements.txt', instead of two like '-r', 'requirements.txt'): cmdargs=['/Users/mathieu/test_sugardough/bin/peep.py', 'install', '-r requirements.txt']
The usual way to use a different install command for dependencies in tox is to use the install_command setting.
Here's an example (it needs the
peep.py
script available):However, peep doesn't accept passing the requirements file this way (it needs a space between the two:
-r requirements.txt
. Pip does accept this though.If you were to add this space, to have peep accept it, then it would be tox's turn to fail, calling the following command: (notice there is only one parameter for
'-r requirements.txt'
, instead of two like'-r', 'requirements.txt'
):cmdargs=['/Users/mathieu/test_sugardough/bin/peep.py', 'install', '-r requirements.txt']
From a discussion in irc with @erikrose and @jezdez, we found out that a custom arg parser was coded for peep (due to optparse's decision to explode when it encounters unfamiliar options), but that might not be needed if using the same trick as the following code: https://github.com/django/django/blob/stable/1.4.x/django/core/management/__init__.py#L152-L204
The workaround for the time being is to simply not use the
install_command
nor thedeps
, but install the dependencies in thecommands
:This is only partially the problem with using peep together with tox, please see #62
The text was updated successfully, but these errors were encountered: