Revert use of Path.joinpath instead of Path.__div__

This commit is contained in:
Yannick Jadoul
2020-06-21 13:14:53 +02:00
parent acf5c24881
commit d552d29eae
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -65,9 +65,9 @@ def make_symlinks(installation_bin_path: Path, python_executable: str, pip_execu
shutil.rmtree(SYMLINKS_DIR)
SYMLINKS_DIR.mkdir(parents=True)
SYMLINKS_DIR.joinpath('python').symlink_to(installation_bin_path / python_executable)
SYMLINKS_DIR.joinpath('python-config').symlink_to(installation_bin_path / (python_executable + '-config'))
SYMLINKS_DIR.joinpath('pip').symlink_to(installation_bin_path / pip_executable)
(SYMLINKS_DIR / 'python').symlink_to(installation_bin_path / python_executable)
(SYMLINKS_DIR / 'python-config').symlink_to(installation_bin_path / (python_executable + '-config'))
(SYMLINKS_DIR / 'pip').symlink_to(installation_bin_path / pip_executable)
def install_cpython(version: str, url: str) -> Path: