Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Install pyOpenSSL 0.10 when OLD_OPENSSL_VERSION is defined

We recently updated pyOpenSSL to version 0.13 in order to fix a build
problem on recent Ubuntu releases. However, 0.13 does not compile on
Centos 5 because is requires OpenSSL 0.9.8f or later.

If the OLD_OPENSSL_VERSION environment variable is defined, use a
different requirements.txt file which installs pyOpenSSL 0.10.

The cumulus-deps tarball was updated to include both pyOpenSSL packages.
  • Loading branch information...
commit ed9a8775efbb4033b6bd0b58a16f0f615f729a32 1 parent 551cf7d
@priteau priteau authored
6 cumulus/
@@ -99,7 +99,11 @@ echo "-----------------------------------------------------------------"
echo ""
# install deps
cd $source_dir
-$PIP install --requirement=reqs.txt
+if [ "X$OLD_OPENSSL_VERSION" == "X" ]; then
+ $PIP install --requirement=reqs.txt
+ $PIP install --requirement=reqs-old-openssl-version.txt
if [ $? -ne 0 ]; then
echo "$PIP failed to install deps"
exit 1
7 cumulus/reqs-old-openssl-version.txt
@@ -0,0 +1,7 @@
Please sign in to comment.
Something went wrong with that request. Please try again.