-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
config_settings
as they would be passed by pip (#3380)
- Loading branch information
Showing
8 changed files
with
351 additions
and
36 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,10 @@ | ||
Improved the handling of the ``config_settings`` parameter in both PEP 517 and | ||
PEP 660 interfaces: | ||
|
||
- It is possible now to pass both ``--global-option`` and ``--build-option``. | ||
As discussed in #1928, arbitrary arguments passed via ``--global-option`` | ||
should be placed before the name of the setuptools' internal command, while | ||
``--build-option`` should come after. | ||
|
||
- Users can pass ``editable-mode=strict`` to select a strict behaviour for the | ||
editable installation. |
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,7 @@ | ||
Passing some types of parameters via ``--global-option`` to setuptools PEP 517/PEP 660 backend | ||
is now considered deprecated. The user can pass the same arbitrary parameter | ||
via ``--build-option`` (``--global-option`` is now reserved for flags like | ||
``--verbose`` or ``--quiet``). | ||
|
||
Both ``--build-option`` and ``--global-option`` are supported as a **transitional** effort (a.k.a. "escape hatch"). | ||
In the future a proper list of allowed ``config_settings`` may be created. |
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
Oops, something went wrong.