Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124647
D5154.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
462 B
Subscribers
None
D5154.diff
View Options
diff --git a/bin/install b/bin/install
--- a/bin/install
+++ b/bin/install
@@ -1,3 +1,14 @@
#!/usr/bin/env bash
-pip install $(./bin/pip-swh-packages --with-testing) "$@"
+# Usage: bin/install [PIP_INSTALL_OPTION..]
+
+PREREQUISITES="pre-commit flake8 pifpaf tox wheel mypy"
+
+pip install --upgrade pip "$@"
+
+pip install $PREREQUISITES "$@"
+
+bin/pip-swh-packages --with-testing | \
+ while read pkg_spec ; do
+ pip install $pkg_spec
+ done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 3:47 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217271
Attached To
D5154: bin/install: install packages one by one and enforce prerequisites
Event Timeline
Log In to Comment