-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify role of --system
flag in README
#4031
Conversation
For uv>=0.2.0 behavior
## Summary This meta-PR includes some suggestions for the docs on installing into arbitrary Python environments. It targets the branch in #4031 and is a response to #3951 (comment). Specifically, it: - Moves mention of `--python=$(which python)` out of the `--system` paragraph, as the two are no longer equivalent - Adds additional notes on how, currently, to install for the current interpreter. This section should be updated once #4009 is implemented :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reads well and clarifies a few points. Thanks!
Some minor typographical suggestions below; feel free to ignore.
Co-authored-by: David Poznik <dpoznik@23andme.com>
a directory that is **not** a [PEP 405 compliant](https://peps.python.org/pep-0405/#specification) | ||
virtual environment, it will be ignored. | ||
|
||
uv can also install into arbitrary, even non-virtual environments, with the `--python` argument |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is confusing because --system
is required for this now, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, if it's explicit (i.e. that path to the executable or its directory) we do not require the --system
flag.
For uv>=0.2.0 behavior
Closes #3951