summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_namespaces.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-11-19 21:39:41 -0500
committerJason R. Coombs <jaraco@jaraco.com>2017-11-19 21:39:41 -0500
commite4572e8c828cf5c82e072e01672283b5f27396a4 (patch)
treee8cc8df65484f1f29d9e6bd0a27a362eadddd068 /setuptools/tests/test_namespaces.py
parentdcb24ad15465c266a3f258471766fbbe8fc8a42e (diff)
parentd1cef0c5aa0ca473d4b5fef6b11e5508a37663a2 (diff)
downloadpython-setuptools-git-e4572e8c828cf5c82e072e01672283b5f27396a4.tar.gz
Merge branch 'master' into drop-py26
Diffstat (limited to 'setuptools/tests/test_namespaces.py')
-rw-r--r--setuptools/tests/test_namespaces.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/setuptools/tests/test_namespaces.py b/setuptools/tests/test_namespaces.py
index 721cad1e..1ac1b35e 100644
--- a/setuptools/tests/test_namespaces.py
+++ b/setuptools/tests/test_namespaces.py
@@ -30,7 +30,9 @@ class TestNamespaces:
targets = site_packages, path_packages
# use pip to install to the target directory
install_cmd = [
- 'pip',
+ sys.executable,
+ '-m',
+ 'pip.__main__',
'install',
str(pkg_A),
'-t', str(site_packages),
@@ -38,7 +40,9 @@ class TestNamespaces:
subprocess.check_call(install_cmd)
namespaces.make_site_dir(site_packages)
install_cmd = [
- 'pip',
+ sys.executable,
+ '-m',
+ 'pip.__main__',
'install',
str(pkg_B),
'-t', str(path_packages),
@@ -88,7 +92,9 @@ class TestNamespaces:
target = tmpdir / 'packages'
# use pip to install to the target directory
install_cmd = [
- 'pip',
+ sys.executable,
+ '-m',
+ 'pip.__main__',
'install',
str(pkg_A),
'-t', str(target),