mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-08-28 23:27:04 +08:00
f5ae8362c0
`-e`/`--editable` consumes a path argument in `pip install`, but was not listed in `PIP_OPTIONS_WITH_VALUES`. As a result `_extract_pypi_package` returned the editable path (e.g. `.` or `./local/pkg`) instead of the real package, causing a wasted/incorrect PyPI lookup. Add `-e` and `--editable` to the option set so the path argument is skipped, matching how the other value-taking pip options are handled. Add regression tests for `pip install -e ./local/pkg py4csr` and `pip install -e .`.