summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-27 22:17:47 -0400
committerKali Kaneko <kali@leap.se>2015-07-27 22:23:01 -0400
commitfa42397e13c5d7a70ceb961153d39e10a0d4c8f9 (patch)
tree2a031185d1b2c30cdce54dee0dd0a04a8c94a17c
parentb5a3e7191c423314afce20627e83339226c94729 (diff)
[pkg] add script to install base requirements
- update pip - install base reqs, with insecure flags for dirspec and u1db
-rwxr-xr-xclient/pkg/pip_install_requirements.sh6
-rwxr-xr-xcommon/pkg/pip_install_requirements.sh6
-rwxr-xr-xserver/pkg/pip_install_requirements.sh6
3 files changed, 18 insertions, 0 deletions
diff --git a/client/pkg/pip_install_requirements.sh b/client/pkg/pip_install_requirements.sh
new file mode 100755
index 00000000..71adebc7
--- /dev/null
+++ b/client/pkg/pip_install_requirements.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Update pip and install LEAP base requirements.
+# For convenience, u1db and dirspec are allowed with insecure flags enabled.
+# Use at your own risk.
+pip install -U pip
+pip install --allow-external u1db --allow-unverified u1db --allow-external dirspec --allow-unverified dirspec -r pkg/requirements.pip
diff --git a/common/pkg/pip_install_requirements.sh b/common/pkg/pip_install_requirements.sh
new file mode 100755
index 00000000..71adebc7
--- /dev/null
+++ b/common/pkg/pip_install_requirements.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Update pip and install LEAP base requirements.
+# For convenience, u1db and dirspec are allowed with insecure flags enabled.
+# Use at your own risk.
+pip install -U pip
+pip install --allow-external u1db --allow-unverified u1db --allow-external dirspec --allow-unverified dirspec -r pkg/requirements.pip
diff --git a/server/pkg/pip_install_requirements.sh b/server/pkg/pip_install_requirements.sh
new file mode 100755
index 00000000..71adebc7
--- /dev/null
+++ b/server/pkg/pip_install_requirements.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Update pip and install LEAP base requirements.
+# For convenience, u1db and dirspec are allowed with insecure flags enabled.
+# Use at your own risk.
+pip install -U pip
+pip install --allow-external u1db --allow-unverified u1db --allow-external dirspec --allow-unverified dirspec -r pkg/requirements.pip