-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add always-install-via-wheel feature
When enabled this feature does the following: - the presence of --build-option, --install-option, --global-option no longer imply --no-binary :all: - --no-binary does not disable wheel building anymore, so a wheel is built during the install process and setup.py install is not used anymore in this case
- Loading branch information
Showing
5 changed files
with
73 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Add an experimental ``always-install-via-wheel`` feature flag. When enabled, it has the | ||
following effects: | ||
|
||
- Installation of source distributions is always done by first building a wheel | ||
then installing from it (assuming the ``wheel`` package is installed). | ||
- ``--no-binary`` now only means "do not download wheels", whereas before it also | ||
implied using the legacy ``setup.py install`` and disabling the wheel cache. | ||
- The use of ``--install-option``, ``--build-option``, ``--global-option`` no longer | ||
imply ``--no-binary :all:``. | ||
- ``--build-option`` and ``--global-option`` are passed to ``setup.py bdist_wheel`` | ||
during installation, as it was already done when using ``pip wheel``. | ||
- ``--install-option`` is ignored (because there is no ``setup.py install`` involved) |
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
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