uv/scripts
Ahmed Ilyas e8d7c0cb58
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 <charlie.r.marsh@gmail.com>
2024-07-26 16:30:15 -04:00
..
bench Prefer "lockfile" to "lock file" (#5427) 2024-07-25 09:22:36 -05:00
benchmarks Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
links Add test case for wheel installation with different path (#4396) 2024-06-19 09:39:55 -05:00
packages Editable installs for uv tool (#5454) 2024-07-26 16:30:15 -04:00
popular_packages Finish install-many with pypi 10k most dependents (#732) 2023-12-27 09:42:51 -05:00
requirements Add airflow benchmark (#3643) 2024-05-23 13:25:54 -04:00
scenarios Update to packse 0.3.31 (#5441) 2024-07-26 15:39:29 +00:00
workspaces Enable projects to opt-out of workspace management (#4565) 2024-07-01 16:17:43 -04:00
check_cache_compat.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_embedded_python.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_system_python.py Deduplicate symbolic links between purelib and platlib (#3002) 2024-04-12 17:08:56 -04:00
release.sh Request Python 3.12 in the release script (#4384) 2024-06-18 10:44:42 -05:00
sync_scenarios.sh Fixups to release.sh and sync_scenarios.sh (#2790) 2024-04-03 01:59:58 +00:00
transform_readme.py Fix benchmark image in documentation (#5102) 2024-07-16 13:54:06 +00:00
update_schemastore.py Update SchemaStore script (#5024) 2024-07-12 17:49:38 -04:00