New issue 156: whitelist_externals ignored
https://bitbucket.org/hpk42/tox/issue/156/whitelist_externals-ignored

Seán Hayes:

I'm using python 2.7 and tox 1.7.0 on Ubuntu 13.04.

Here's part of my tox.ini file:

```
[testenv]
whitelist_externals = *
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/tests
commands =
    cd {envdir}/ && wget 
https://pypi.python.org/packages/source/p/pysqlite/pysqlite-2.6.3.tar.gz#md5=7ff1cedee74646b50117acff87aa1cfa
    cd {envdir}/ && tar -xvf pysqlite-2.6.3.tar.gz
    cd {envdir}/pysqlite-2.6.3/ && python setup.py build_ext -U 
SQLITE_OMIT_LOAD_EXTENSION
    cd {envdir}/pysqlite-2.6.3/ && python setup.py develop
    
    {envbindir}/django-admin.py test core --settings=settings_core
```

I need to customize the build before installing, and the only way I could think 
to do that is put it in commands.

I tried whitelisting `cd` and the other commands I need but got:

"ERROR: InvocationError: could not find executable 'cd'"

Even when whitelsiting everything, I get the same error.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to