install: use sudo when installing wheel for non-user specific install
This commit is contained in:
parent
0668d0a49b
commit
f83f71c074
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -176,7 +176,7 @@ def install_poetry(c: Context, dev: bool, local: bool, hide: bool) -> None:
|
|||
if local:
|
||||
with c.cd(DAEMON_DIR):
|
||||
c.run("poetry build -f wheel", hide=hide)
|
||||
c.run("python3 -m pip install dist/*")
|
||||
c.run("sudo python3 -m pip install dist/*")
|
||||
else:
|
||||
args = "" if dev else "--no-dev"
|
||||
with c.cd(DAEMON_DIR):
|
||||
|
|
Loading…
Reference in a new issue