File: jython-2.7.3

package info (click to toggle)
pyenv 2.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,496 kB
  • sloc: sh: 4,914; python: 410; makefile: 161; ansic: 60
file content (14 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require_java
unrequire_python27
install_jar "jython-2.7.3" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.3/jython-installer-2.7.3.jar#3ffc25c5257d2028b176912a4091fe048c45c7d98218e52d7ce3160a62fdc9fc" 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