From 24bdb6487d66950d42581bef200da645266d8046 Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Tue, 23 Apr 2019 12:23:09 +0200 Subject: [PATCH] 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. --- litex_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex_setup.py b/litex_setup.py index 614af61af..90a4236fd 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():