Cache the setup.py resolution (#327)

Cache the resolution for the setup.py requirements (`pip`, `setuptools`,
`wheels`) across builds.
This commit is contained in:
konsti 2023-11-06 15:14:24 +01:00 committed by GitHub
parent b2439b24a1
commit d99ca3159b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 21 deletions

View file

@ -53,6 +53,7 @@ pub trait BuildContext {
/// All (potentially nested) source distribution builds use the same base python and can reuse
/// it's metadata (e.g. wheel compatibility tags).
fn interpreter_info(&self) -> &InterpreterInfo;
/// The system (or conda) python interpreter to create venvs.
fn base_python(&self) -> &Path;