[TIP] [tox] KeyError: 'HOMEDRIVE' on Windows
chris at simplistix.co.uk
Fri Jan 27 05:36:18 PST 2012
On 27/01/2012 12:42, Ronny Pfannschmidt wrote:
>> Why does Tox need a home directory? What does it use it for?
> currently it stores build artifacts there for use/reuse
> after checking the involved code,
> it seems that homedir shouldn't be used in a ci server context
> to begin with (homedir makes more sense for local use).
> i have a fix in mind that would help with that,
> i'll implement after some more discussion with holger.
> since you probably dont use homedir substitutions,
> you can probably help yourself for the time being by switching the call
> to py.path._gethomedir to simply a empty string
Hmm, except that tox is installed by ShiningPanda each time it runs...
Is there some environment variable or tox config option I can set that
will cause this not to be called?
Simplistix - Content Management, Batch Processing & Python Consulting
More information about the testing-in-python