summaryrefslogtreecommitdiff
path: root/src/pip/_internal/utils/entrypoints.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove typing.TYPE_CHECKING guardsJon Dufresne2021-02-191-4/+1
| | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency
* Replace pip._internal.utils.typing with stdlib typingJon Dufresne2021-02-181-2/+2
| | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim.
* Update linter: isortPradyun Gedam2020-09-231-1/+1
|
* Add warning when using old console script wrappersChris Hunt2019-12-201-0/+10
| | | | | We use sys.stderr instead of our `deprecated` helper because logging is not set up at the time this is executed.
* Setup old entrypoints in pip moduleChris Hunt2019-12-191-0/+21
This should make everything "just work" with respect to combinations of PATH, sys.path, and multiple Python installs. Later we can add a warning here to help guide users to better understanding.