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:
parent
338d03ac22
commit
5577fb3704
@ -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())):
|
||||||
|
Loading…
Reference in New Issue
Block a user