mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ if "install" in sys.argv[1:]:
|
|||
print("[installing " + name + "]...")
|
||||
if need_develop:
|
||||
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:]:
|
||||
for name in repos.keys():
|
||||
|
|
Loading…
Reference in a new issue