Commit 4eb5b32f authored by Jason R. Coombs's avatar Jason R. Coombs

Replace hard-coded tox working dir with the environment variable, honoring...

Replace hard-coded tox working dir with the environment variable, honoring non-standard working directories.
parent 6f205904
...@@ -12,7 +12,7 @@ def remove_setuptools(): ...@@ -12,7 +12,7 @@ def remove_setuptools():
cmd = [sys.executable, '-m', 'pip', 'uninstall', '-y', 'setuptools'] cmd = [sys.executable, '-m', 'pip', 'uninstall', '-y', 'setuptools']
# set cwd to something other than '.' to avoid detecting # set cwd to something other than '.' to avoid detecting
# '.' as the installed package. # '.' as the installed package.
subprocess.check_call(cmd, cwd='.tox') subprocess.check_call(cmd, cwd=os.environ['TOX_WORK_DIR'])
def bootstrap(): def bootstrap():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment