summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/tox_pip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tox_pip.py b/tools/tox_pip.py
index 9fe4f905..9e1a1e4a 100644
--- a/tools/tox_pip.py
+++ b/tools/tox_pip.py
@@ -12,7 +12,7 @@ def remove_setuptools():
cmd = [sys.executable, '-m', 'pip', 'uninstall', '-y', 'setuptools']
# set cwd to something other than '.' to avoid detecting
# '.' as the installed package.
- subprocess.check_call(cmd, cwd='.tox')
+ subprocess.check_call(cmd, cwd=os.environ['TOX_WORK_DIR'])
def bootstrap():