-
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #33789: sage-dist-helpers (sdh_pip_install): Change default to -…
…-build-isolation ... hence, provisioning the build environment for each package from the stored wheels. This gets us another step closer to using modern Python packaging infrastructure. It will make the build process more robust because it avoids concurrent read and write access to `site-packages`. If it fails, it falls back the old behavior (`--no-build-isolation`) and issues a warning. URL: https://trac.sagemath.org/33789 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): John Palmieri
- Loading branch information
Showing
2 changed files
with
33 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
cd src | ||
# tomli's build system, flit_core, has a runtime dependency on tomli. | ||
# Hence we make the uninstalled tomli sources available during the installation | ||
# and disable build isolation -- which would require a tomli wheel to | ||
# be available for setting up the build environment. | ||
export PYTHONPATH="$(pwd)" | ||
sdh_pip_install . | ||
sdh_pip_install --no-build-isolation . |