install: fixed deprecated syntax when using poetry to install only the main packages
This commit is contained in:
parent
3e5c8c894f
commit
b92e4ed6b9
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -216,7 +216,7 @@ def install_poetry(c: Context, dev: bool, local: bool, hide: bool) -> None:
|
||||||
c.run("poetry build -f wheel", hide=hide)
|
c.run("poetry build -f wheel", hide=hide)
|
||||||
c.run(f"sudo {python_bin} -m pip install dist/*")
|
c.run(f"sudo {python_bin} -m pip install dist/*")
|
||||||
else:
|
else:
|
||||||
args = "" if dev else "--no-dev"
|
args = "" if dev else "--only main"
|
||||||
with c.cd(DAEMON_DIR):
|
with c.cd(DAEMON_DIR):
|
||||||
c.run("sudo mkdir -p /opt/core", hide=hide)
|
c.run("sudo mkdir -p /opt/core", hide=hide)
|
||||||
c.run(f"sudo {python_bin} -m venv {VENV_PATH}")
|
c.run(f"sudo {python_bin} -m venv {VENV_PATH}")
|
||||||
|
|
Loading…
Reference in a new issue