From: Kees Jongenburger Date: Tue, 23 Apr 2019 10:23:09 +0000 (+0200) Subject: Install development packages in the user directory X-Git-Tag: 24jan2021_ls180~1281^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24bdb6487d66950d42581bef200da645266d8046;p=litex.git 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. --- diff --git a/litex_setup.py b/litex_setup.py index 614af61a..90a4236f 100755 --- a/litex_setup.py +++ b/litex_setup.py @@ -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():