From 5577fb3704156002ae38a1a8192fdbee880cc980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 3 Nov 2020 12:18:34 +0100 Subject: [PATCH] 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. --- src/tox_current_env/hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tox_current_env/hooks.py b/src/tox_current_env/hooks.py index 87d5f3e..b1c6a29 100644 --- a/src/tox_current_env/hooks.py +++ b/src/tox_current_env/hooks.py @@ -69,6 +69,7 @@ def tox_configure(config): config.skipsdist = True for testenv in config.envconfigs: config.envconfigs[testenv].whitelist_externals = "*" + config.envconfigs[testenv].usedevelop = False if (getattr(config.option.print_deps_to, "name", object()) == getattr(config.option.print_extras_to, "name", object())):