Install development packages in the user directory
When in development mode install the packages in the user directory using the --user flag from pip. This allows to install and run without the need for root access.
This commit is contained in:
parent
f7c0b118ce
commit
24bdb6487d
|
@ -46,7 +46,7 @@ if "install" in sys.argv[1:]:
|
||||||
print("[installing " + name + "]...")
|
print("[installing " + name + "]...")
|
||||||
if need_develop:
|
if need_develop:
|
||||||
os.chdir(os.path.join(current_path, name))
|
os.chdir(os.path.join(current_path, name))
|
||||||
os.system("python3 setup.py develop")
|
os.system("python3 setup.py develop --user")
|
||||||
|
|
||||||
if "update" in sys.argv[1:]:
|
if "update" in sys.argv[1:]:
|
||||||
for name in repos.keys():
|
for name in repos.keys():
|
||||||
|
|
Loading…
Reference in New Issue