diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-08-15 14:42:03 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-08-15 14:42:03 -0400 |
| commit | 4eb5b32f8d8bb1e20907028a516346e2b1901391 (patch) | |
| tree | e64d84f6e8da18720ab0ba38cde2930d58ff1419 | |
| parent | 6f205904ca63a91946b862068278a51dddb36cf4 (diff) | |
| download | python-setuptools-git-4eb5b32f8d8bb1e20907028a516346e2b1901391.tar.gz | |
Replace hard-coded tox working dir with the environment variable, honoring non-standard working directories.
| -rw-r--r-- | tools/tox_pip.py | 2 |
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(): |
