1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/src/pip/_internal/operations
Chris Hunt 71e0ea19af Assert req.source_dir is None during linked requirement preparation
req.source_dir is only set by:

1. `InstallRequirement.__init__`
2. `InstallRequirement.ensure_has_source_dir`

`InstallRequirement.__init__` is only called with source_dir for
editable requirements, for which we would not call
`RequirementPreparer.prepare_linked_requirement` (only
`prepare_editable_requirement`).

We will use this assertion for justifying later refactoring.
2020-01-08 20:11:28 -05:00
..
build Move PEP-517 wheel build logic into operations.build 2019-12-29 16:57:02 +05:30
install Move parse_wheel and supporting functions to utils.wheel 2020-01-04 23:11:51 +01:00
__init__.py Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
check.py One more found by grepping 2020-01-07 20:49:55 +05:30
freeze.py Merge pull request #6857 from abs51295/fix-pip-freeze 2019-10-17 20:08:23 -04:00
prepare.py Assert req.source_dir is None during linked requirement preparation 2020-01-08 20:11:28 -05:00