[docs] Update README.md to include extras example (#1806)

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->
There was no example of to hint support for extras in the README.md.

I added one example in the install section that is used in the uv tests.
This commit is contained in:
samypr100 2024-02-21 21:13:07 -05:00 committed by GitHub
parent 831ab457f7
commit b3be53bb46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ uv pip install flask # Install Flask.
uv pip install -r requirements.txt # Install from a requirements.txt file.
uv pip install -e . # Install the current project in editable mode.
uv pip install "package @ ." # Install the current project from disk
uv pip install "flask[dotenv]" # Install Flask with "dotenv" extra.
```
To generate a set of locked dependencies from an input file: