Skip to content

Commit

Permalink
Use S3 bucket to mirror unreliable IronPython and Jython installers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed Oct 8, 2013
1 parent 145a2ca commit 2b70e99
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions travisdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ $INSTALL python3
# IronPython IRONPYTHON_EXE, IRONPYTHON_LIB
# IronPython is not part of Ubuntu
# URL for IPython download from http://ironpython.codeplex.com/releases/view/90087 (IronPython 2.7.4 Binaries link)
wget -O /tmp/IronPython-2.7.4.zip 'http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=ironpython&DownloadId=723207&FileTime=130230841338900000&Build=20779'
# Unfortunately it now seems problematic to automate the download directly off codeplex, therefore
# download it off a mirror
# OLD COMMAND: wget -O /tmp/IronPython-2.7.4.zip 'http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=ironpython&DownloadId=723207&FileTime=130230841338900000&Build=20779'
wget -O /tmp/IronPython-2.7.4.zip https://s3.amazonaws.com/pydevbuilds2/IronPython-2.7.4.zip
# TODO Getting all of mono-complete may be overkill
$INSTALL mono-complete
(cd /tmp && unzip -q /tmp/IronPython-2.7.4.zip)
Expand All @@ -47,7 +50,9 @@ chmod +x /tmp/IronPython-2.7.4/ipy.exe

# Jython JYTHON_JAR_LOCATION, JYTHON_LIB_LOCATION
# TODO Jython package in Ubuntu is not currently supported by PyDev
wget -O /tmp/jython-installer-2.5.3.jar http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.3/jython-installer-2.5.3.jar
# This get from Maven can sometimes be very slow, instead get it from our mirror
# OLD COMMAND: wget -O /tmp/jython-installer-2.5.3.jar http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.5.3/jython-installer-2.5.3.jar
wget -O /tmp/jython-installer-2.5.3.jar https://s3.amazonaws.com/pydevbuilds2/jython-installer-2.5.3.jar
java -jar /tmp/jython-installer-2.5.3.jar -s -d /tmp/jython-2.5.3
java -jar /tmp/jython-2.5.3/jython.jar -V
java -jar /tmp/jython-2.5.3/jython.jar -c "print 'from Jython'"

0 comments on commit 2b70e99

Please sign in to comment.