[PATCH 1 of 2 saem_ref] [pkg] Stop using system packages in tox

Denis Laxalde denis.laxalde at logilab.fr
Wed Apr 12 09:58:30 CEST 2017


Philippe Pepiot a écrit :
> On 04/12/2017 09:10 AM, Sylvain Thenault wrote:
>> # HG changeset patch
>> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
>> # Date 1491912010 -7200
>> #      Tue Apr 11 14:00:10 2017 +0200
>> # Node ID 5997b5572088105e53689ce563cdf1e73323c529
>> # Parent  9ca3c5e67aa53bd48b9a2f06d3b18e89eebeab66
>> [pkg] Stop using system packages in tox
>>
>> diff --git a/tox.ini b/tox.ini
>> --- a/tox.ini
>> +++ b/tox.ini
>> @@ -1,10 +1,9 @@
>>  [tox]
>>  envlist = py27,flake8,check-manifest
>>
>>  [testenv]
>> -sitepackages = True
>>  setenv =
>>    PATH=/usr/lib/postgresql/9.4/bin:{env:PATH}
>>  deps =
>>    -rdev-requirements.txt
>>  commands = {envpython} -m pytest {posargs:{toxinidir}/test}
>>
>
> In a followup you can remove 'whitelist_externals' from tox.ini since
> it's not needed anymore.
>

There is no whitelist_externals in this environment apparently?



More information about the saem-devel mailing list