Jython version 2.1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 2.1

      View the most recent changes for the jython port at: jython.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for jython.
      The raw portfile for jython 2.1 is located here:
      http://jython.darwinports.com/dports/lang/jython/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/jython


      The jython Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: jython
      Version: 2.1
      Category: lang python java
      Platform: darwin
      Maintainers: nomaintainer
      Description: Python implementation in pure Java
      Long Description: Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.

      Homepage: http://www.jython.org/
      Master Sites: http://ftp.belnet.be/pub/mirror/fink.sourceforge.net/distfiles/
      Checksums: md5 5a32f0f0b584d99544cb5b12e0383ac7
      use_bzip2 yes

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe

      use_configure no

      build.cmd ant dist || ant jar
      build.target

      destroot {
      xinstall -m 755 ${filespath}/jython ${destroot}${prefix}/bin
      reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/jython
      xinstall -m 755 -d ${destroot}${prefix}/share/java/
      xinstall -m 644 ${worksrcpath}/dist/jython.jar ${destroot}${prefix}/share/java/
      }

      livecheck.type sourceforge

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/jython
      % sudo port install jython
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching jython
      ---> Verifying checksum for jython
      ---> Extracting jython
      ---> Configuring jython
      ---> Building jython with target all
      ---> Staging jython into destroot
      ---> Installing jython
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using jython with these commands:
      %  man jython
      % apropos jython
      % which jython
      % locate jython

     Where to find more information:

    Darwin Ports



    Lightbox this page.