projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c0b11
)
Install development packages in the user directory
author
Kees Jongenburger
<kees.jongenburger@gmail.com>
Tue, 23 Apr 2019 10:23:09 +0000
(12:23 +0200)
committer
Kees Jongenburger
<kees.jongenburger@gmail.com>
Tue, 23 Apr 2019 10:23:09 +0000
(12:23 +0200)
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
patch
|
blob
|
history
diff --git
a/litex_setup.py
b/litex_setup.py
index 614af61afa8aade52229db9c63ff0ce7a773af5b..90a4236fda4389c400ccab5b1735f02fd6bf5801 100755
(executable)
--- 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():