forked from python-poetry/poetry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
installer: use venv and improve error handling
This change drops the dependency on `virtualenv` for the installer, replacing environment creation with the built-in `venv` module available in Python >= 3.2. In addition, this change also improves error handling for subprocess commands. The following behavioural changes are also introduced. - An error log is written to a secure temporary file with stdout and tracebacks on error. - If an existing virtual environment exists prior to installation, this is saved, and used for recovery if installation fails.
- Loading branch information
Showing
1 changed file
with
121 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters