forked from pypa/build
-
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.
The `IsolatedEnv` has been reworked to subsume env creation logic. `IsolatedEnvBuilder` renamed to `IsolatedEnvManager`. The `IsolatedEnv` takes IsolatedEnvManager` as an argument instead of passing the manager's attributes to the env piecemeal. `ProjectBuilder.from_isolated_env` has been added to auto-fill init args from an isolated env. Moved env mangling logic to the `IsolatedEnv` as prelude to fixing pypa#377. The runner is, for now, not replaceable when using isolation. The `ProjectBuilder`'s properties were made read-only. Mutating the builder is not necessary with the addition of `from_isolated_env`. `ProjectBuilder.script_dir` was removed. Adding the `script_dir` to the path is the responsibility of the isolated env.
- Loading branch information
Showing
4 changed files
with
277 additions
and
293 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
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
Oops, something went wrong.