[TIP] tox: force sdist installation
sputnik at termo.net
Tue Jul 5 15:03:22 PDT 2011
holger krekel, Mon 2011-07-04 21:59 CEST:
> > tox doesn't install my sdist if it has been installed by a previous tox run and
> > its version doesn't increase. Is there a way to let tox call pip install with
> > --upgrade or --ignore-installed only for the sdist to be used, not for the
> > dependencies?
> There is a branch/issue pending review which implements this mostly:
Nice. Thanks for the hint!
> > I experienced the mentioned behaviour when I called sphinx-build via tox (see
> > tox.ini section below, Sphinx' conf.py is in doc/ !). Sphinx imports my package
> > from the installed sdist. That is nice. However, the generated docs won't
> > reflect my latest changes until I delete the virtual environment or uninstall
> > the installed sdist.
> IUC you could pass --recreate for the time being.
That's what I do :-) But I have to be patient due to the dependency
More information about the testing-in-python