1 new commit in tox: https://bitbucket.org/hpk42/tox/commits/c620462d578e/ Changeset: c620462d578e User: hpk42 Date: 2015-02-11 13:39:59+00:00 Summary: Merged in juliankrause/tox (pull request #131)
Fix issue11: Add a skip_install option on a per-environment level. Affected #: 3 files diff -r 27b8bdcddd6a197ad600afac03a1e3fb61cc6a5b -r c620462d578e3c73e33bbbcbe8aa90005edf48d1 doc/config.txt --- a/doc/config.txt +++ b/doc/config.txt @@ -252,6 +252,16 @@ **default**: ``False`` +.. confval:: skip_install=BOOL + + .. versionadded:: 1.9 + + Do not install the current package. This can be used when you need the + virtualenv management but do not want to install the current package + into that environment. + + **default**: ``False`` + Substitutions ------------- diff -r 27b8bdcddd6a197ad600afac03a1e3fb61cc6a5b -r c620462d578e3c73e33bbbcbe8aa90005edf48d1 tox/_cmdline.py --- a/tox/_cmdline.py +++ b/tox/_cmdline.py @@ -474,7 +474,7 @@ if self.setupenv(venv): if venv.envconfig.develop: self.developpkg(venv, self.config.setupdir) - elif self.config.skipsdist: + elif self.config.skipsdist or venv.envconfig.skip_install: self.finishvenv(venv) else: self.installpkg(venv, sdist_path) diff -r 27b8bdcddd6a197ad600afac03a1e3fb61cc6a5b -r c620462d578e3c73e33bbbcbe8aa90005edf48d1 tox/_config.py --- a/tox/_config.py +++ b/tox/_config.py @@ -395,6 +395,8 @@ vc.pip_pre = config.option.pre or reader.getbool( section, "pip_pre", False) + vc.skip_install = reader.getbool(section, "skip_install", False) + return vc def _getenvdata(self, reader, toxsection): Repository URL: https://bitbucket.org/hpk42/tox/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit