[TIP] using tox as library in a python tool (get all toxenv and basepython)
Fabio C. Barrionuevo da Luz
bnafta at gmail.com
Mon Nov 7 06:04:13 PST 2016
hello, is there any way, via python code, to get all tox envs and their
respective basepython ?
I'm doing some experiments to create a helper tool to automatically
generate test matrix from tox test matrix to travis-ci test matrix.
I can already get all the tox env, however, as some tox env not explicitly
tell which version of python used in this tox env
e.g.:
from comand line
tox -l
return:
py35-django18
flake8
then, i can infer that "py35-django18" use python3.5, but I do not know how
can I know what the basepython of "flake8" use
--
Fábio C. Barrionuevo da Luz
Palmas - Tocantins - Brasil - América do Sul
http://pythonclub.com.br/
Blog colaborativo sobre Python e tecnologias Relacionadas, mantido
totalmente no https://github.com/pythonclub/pythonclub.github.io .
Todos são livres para publicar. É só fazer fork, escrever sua postagem e
mandar o pull-request. Leia mais sobre como publicar em README.md e
contributing.md.
Regra básica de postagem:
"Você" acha interessante? É útil para "você"? Pode ser utilizado com Python
ou é útil para quem usa Python? Está esperando o que? Publica logo, que
estou louco para ler...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20161107/804518c4/attachment.html>
More information about the testing-in-python
mailing list