mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Fix bug with --editable
See also: https://github.com/simonw/llm/issues/136
This commit is contained in:
parent
37e374e05a
commit
5e9a02153d
2 changed files with 4 additions and 5 deletions
|
|
@ -2800,7 +2800,6 @@ def _analyze(db, tables, columns, save, common_limit=10, no_most=False, no_least
|
|||
@click.option(
|
||||
"-e",
|
||||
"--editable",
|
||||
type=click.Path(readable=True, exists=True, dir_okay=True, file_okay=False),
|
||||
help="Install a project in editable mode from this path",
|
||||
)
|
||||
def install(packages, upgrade, editable):
|
||||
|
|
@ -2809,7 +2808,7 @@ def install(packages, upgrade, editable):
|
|||
if upgrade:
|
||||
args += ["--upgrade"]
|
||||
if editable:
|
||||
args += ["--editable", str(editable)]
|
||||
args += ["--editable", editable]
|
||||
args += list(packages)
|
||||
sys.argv = args
|
||||
run_module("pip", run_name="__main__")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue