mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 22:21:05 +00:00
Add Jython 2.7.1b1
This commit is contained in:
parent
3ecc94fa38
commit
d462e158e2
1 changed files with 13 additions and 0 deletions
13
plugins/python-build/share/python-build/jython-2.7.1b1
Normal file
13
plugins/python-build/share/python-build/jython-2.7.1b1
Normal file
|
@ -0,0 +1,13 @@
|
|||
require_java
|
||||
install_jar "jython-2.7.1b1" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1b1/jython-installer-2.7.1b1.jar#c7a05911fed666c8f9df5bdce50bb5dc75482b7f6b1f1dbe433162d94c960ec3" jython
|
||||
|
||||
case "$(pypy_architecture 2>/dev/null || true)" in
|
||||
"osx64"|"win32" )
|
||||
# Jython does not seem to work properly on OSX/windows unless JAVA_HOME is set
|
||||
if [ -z "${JAVA_HOME+defined}" ]; then
|
||||
colorize 1 "WARNING: "
|
||||
echo "Please ensure that your JAVA_HOME environment variable is set correctly!"
|
||||
echo "See http://bugs.jython.org/issue2346 for details."
|
||||
fi
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue