[TIP] [tox] how to test svn trunk / git master for required libraries?
Maru Newby
mnewby at internap.com
Tue Mar 6 21:19:19 PST 2012
Hi Chris,
On 2012-03-06, at 8:36 PM, Chris Withers wrote:
> Yes, it does. What if they're coming from git instead of svn?
Easy as pie: git+[xyz url]#egg=xyz
The syntax is very close to what pip uses to specify 'editable' packages:
www.pip-installer.org/en/latest/requirements.html
The difference is that specifying editable packages in tox.ini requires that the '-e' or '--editable' flag not be included, or the necessary '#egg=xyz' suffix will be interpreted as a comment and be ignored. This is a bit inconsistent, since requirements files in tox.ini are required to be prefixed by the pip '-r' flag.
Cheers,
Maru
More information about the testing-in-python
mailing list