uv
uv copied to clipboard
dist-info entry in site-packages for editable install
uv pip install -e creates a dist-info entry in site-packages, which python -m pip does not seem to do.
uv venv --python 3.10 --no-python-downloads --link-mode hardlink source .venv/bin/activate uv pip install -e ~/src/my_package
% ls .venv/lib/python3.10/site-packages/ | grep my_package editable.my_package-0.5.0.16.pth __editable___my_package_0_5_0_16_finder.py my_package-0.5.0.16.dist-info
% uv --version uv 0.4.0
% uname -a 24~22.04.1-Ubuntu SMP Thu Jul 18 10:43:12 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I don't think it's a wrong behavior, but it's different from what pip does and it confuses Pylance. The packages is completely functional in Python.