@@ -437,7 +437,7 @@ def _test_uninstall_editable_with_source_outside_venv(
437
437
temp_pkg_dir ,
438
438
expect_stderr = True ,
439
439
)
440
- result2 = script .pip ( "install " , "-e " , temp_pkg_dir )
440
+ result2 = script .run ( "python " , "setup.py " , "develop" , cwd = temp_pkg_dir )
441
441
result2 .did_create (join (script .site_packages , "pip-test-package.egg-link" ))
442
442
result3 = script .pip ("uninstall" , "-y" , "pip-test-package" )
443
443
assert_all_changes (
@@ -665,7 +665,7 @@ def test_uninstall_editable_and_pip_install(
665
665
script .environ ["SETUPTOOLS_SYS_PATH_TECHNIQUE" ] = "raw"
666
666
667
667
pkg_path = data .packages .joinpath ("FSPkg" )
668
- script .pip ( "install " , "-e " , ". " , expect_stderr = True , cwd = pkg_path )
668
+ script .run ( "python " , "setup.py " , "develop " , expect_stderr = True , cwd = pkg_path )
669
669
# ensure both are installed with --ignore-installed:
670
670
script .pip ("install" , "--ignore-installed" , "." , expect_stderr = True , cwd = pkg_path )
671
671
script .assert_installed (FSPkg = "0.1.dev0" )
@@ -702,7 +702,7 @@ def test_uninstall_editable_and_pip_install_easy_install_remove(
702
702
703
703
# Install FSPkg
704
704
pkg_path = data .packages .joinpath ("FSPkg" )
705
- script .pip ( "install " , "-e " , ". " , expect_stderr = True , cwd = pkg_path )
705
+ script .run ( "python " , "setup.py " , "develop " , expect_stderr = True , cwd = pkg_path )
706
706
707
707
# Rename easy-install.pth to pip-test-fspkg.pth
708
708
easy_install_pth = join (script .site_packages_path , "easy-install.pth" )
0 commit comments