add custom editable_wheel command to hijack pdb in editable installs#82
Merged
add custom editable_wheel command to hijack pdb in editable installs#82
editable_wheel command to hijack pdb in editable installs#82Conversation
596b231 to
cfe5a5e
Compare
093f3aa to
3868174
Compare
editable_wheel command to hijack pdbpp in editable installseditable_wheel command to hijack pdb in editable installs
…able installs Editable installs (`pip install -e .`) were broken because `pdbpp_hijack_pdb.pth` was not installed, resulting in `pdbpp` not hijacking `pdb` since the `.pth` file inserts `_pdbpp_path_hack` in sys.path. This adds a custom `editable_wheel` class `editable_install_with_pth_file` that uses a custom `EditableWheel` strategy that takes care of inserting `_pdbpp_path_hack` in the path, allowing `pdbpp` editable installs to correctly hijack `pdb`.
dd76561 to
005bfea
Compare
005bfea to
59e63ba
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Editable installs (
pip install -e .) were broken becausepdbpp_hijack_pdb.pthwas not installed, resulting inpdbppnot hijackingpdbsince the.pthfile inserts_pdbpp_path_hackin sys.path.This adds a custom
editable_wheelclasseditable_install_with_pth_filethat uses a customEditableWheelstrategy that takes care of inserting_pdbpp_path_hackin the path, allowingpdbppeditable installs to correctly hijackpdb.