Commit 668bc574 authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/pull/980'

parents 0f1995ca bf9e9926
......@@ -52,10 +52,12 @@ source $OPENSHIFT_HOMEDIR/python/virtenv/bin/activate
cd ${OPENSHIFT_REPO_DIR}
# Pin Django version to 1.8 to avoid surprises when 1.9 comes out.
sed -e 's/Django[<>=]\+.*/Django>=1.8,<1.9/' $OPENSHIFT_REPO_DIR/requirements.txt >/tmp/requirements.txt
# Prevent lxml 3.5 or later to be used on OpenShift because its compilation needs more memory than small gears can provide.
sed -e 's/lxml[<>=]\+.*/\0,<3.5/' $OPENSHIFT_REPO_DIR/requirements.txt >/tmp/requirements.txt
# Prevent lxml 3.5 or later to be used on OpenShift because its compilation
# needs more memory than small gears can provide.
cat $OPENSHIFT_REPO_DIR/requirements.txt |
sed -e 's/Django[<>=]\+.*/Django>=1.8,<1.9/' |
sed -e 's/lxml[<>=]\+.*/\0,<3.5/' \
>/tmp/requirements.txt
sh "pip install -U -r /tmp/requirements.txt"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment