1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2025-01-11 08:56:14 +01:00

When using the plugin's options, disable the usedevelop option

When enabled in tox.ini, tox-current-env attempted to run `setup.py develop`
in the current env.
This commit is contained in:
Miro Hrončok 2020-11-03 12:18:34 +01:00
parent 338d03ac22
commit 5577fb3704

View File

@ -69,6 +69,7 @@ def tox_configure(config):
config.skipsdist = True config.skipsdist = True
for testenv in config.envconfigs: for testenv in config.envconfigs:
config.envconfigs[testenv].whitelist_externals = "*" config.envconfigs[testenv].whitelist_externals = "*"
config.envconfigs[testenv].usedevelop = False
if (getattr(config.option.print_deps_to, "name", object()) == if (getattr(config.option.print_deps_to, "name", object()) ==
getattr(config.option.print_extras_to, "name", object())): getattr(config.option.print_extras_to, "name", object())):