-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editable installs for
uv tool
(#5454)
## Summary Resolves #5436. ## Test Plan `cargo test` ```console ❯ ./target/debug/uv tool install -e ~/black warning: `uv tool install` is experimental and may change without warning Resolved 6 packages in 894ms Built black @ file:///Users/ahmedilyas/black Prepared 1 package in 468ms Installed 6 packages in 6ms + black==24.4.3.dev23+g7e2afc9 (from file:///Users/ahmedilyas/black) + click==8.1.7 + mypy-extensions==1.0.0 + packaging==24.1 + pathspec==0.12.1 + platformdirs==4.2.2 Installed 2 executables: black, blackd ``` venv has the `.pth` files. ```console ❯ eza /Users/ahmedilyas/Library/Application\ Support/uv/tools/black/lib/python3.12/site-packages/ _black.pth _virtualenv.py click mypy_extensions-1.0.0.dist-info packaging pathspec platformdirs _virtualenv.pth black-24.4.3.dev23+g7e2afc9.dist-info click-8.1.7.dist-info mypy_extensions.py packaging-24.1.dist-info pathspec-0.12.1.dist-info platformdirs-4.2.2.dist-info ``` --------- Co-authored-by: Charlie Marsh <[email protected]>
- Loading branch information
1 parent
2186e96
commit e8d7c0c
Showing
7 changed files
with
271 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
def a(): | ||
pass | ||
def main(): | ||
print("Hello world!") | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
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