forked from python-poetry/poetry
-
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.
env: make pip/setuptools configurable
This change introduces the following configuration options: - `virtualenvs.options.no-pip` (Default: `false`) - `virtualenvs.options.no-wheel` (Default: `false`) - `virtualenvs.options.no-setuptools` (Default: `false`) With these options, we allow, the user to control the inclusion of `pip`, `wheel` and `setuptools` packages in new virtual environments. The defaults used retain existing behaviour as of `1.1.5`. In addition the following now holds true. - projects can define `pip`, `wheel` and `setuptools` as dependencies - if any of these packages are in the project's dependency tree, poetry will manage their versions - all poetry internal commands will use pip embedded in virtualenv irrespective of pip beig available in the environment - if `poetry run pip` is executed, pip installed in the virtualenv will be prioritsed - `poetry install --remove-untracked` will ignore these packages if they are not present in the project's dependency tree Relates-to: python-poetry#2826 Relates-to: python-poetry#3916
- Loading branch information
Showing
16 changed files
with
244 additions
and
60 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
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
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.