Przeglądaj źródła

Merge pull request #973 from Samureus/jython-2.7.1

Added jython-2.7.1
pull/976/head
Yamashita, Yuu 9 lat temu
committed by GitHub
rodzic
commit
fd0b8fcfb3
1 zmienionych plików z 14 dodań i 0 usunięć
  1. +14
    -0
      plugins/python-build/share/python-build/jython-2.7.1

+ 14
- 0
plugins/python-build/share/python-build/jython-2.7.1 Wyświetl plik

@ -0,0 +1,14 @@
require_java
unrequire_python27
install_jar "jython-2.7.1" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar#6e58dad0b8565b95c6fb14b4bfbf570523d1c5290244cfb33822789fa53b1d25" 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

Ładowanie…
Anuluj
Zapisz