Skip to content

Commit

Permalink
Make editable work with -e '.[test]', refs #2106
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jul 26, 2023
1 parent 278ac91 commit dc5171e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datasette/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ def package(
@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, requirement, editable):
Expand All @@ -365,7 +364,7 @@ def install(packages, upgrade, requirement, editable):
if upgrade:
args += ["--upgrade"]
if editable:
args += ["--editable", str(editable)]
args += ["--editable", editable]
if requirement:
args += ["-r", requirement]
args += list(packages)
Expand Down

0 comments on commit dc5171e

Please sign in to comment.