Py-wxpython version 2.8.9.2 - How to Download and Install on Mac OS X
Friday the 19th of March, 2010

    py-wxpython  most recent diff


    version 2.8.9.2

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


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

      PortSystem 1.0

      Name: py-wxpython
      Version: 2.8.9.2
      Category: python graphics
      Platform: darwin
      Maintainers: mww jwa
      Description: Python interface to the wxWindows cross platform GUI
      Long Description: wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWindows cross platform GUI library, which is written in C++.

      Homepage: http://www.wxpython.org/
      Master Sites: sourceforge:wxpython
      distname wxPython-src-${version}
      use_bzip2 yes
      Checksums: md5 e3d89746af98b9279e4ff39a57f6dc63 sha1 a0d58d8b9606d04a35b9853da15eb7dfb08d5637 rmd160 93a9bd35b59e16674375b1431e24d47b58a824d2

      #patchfiles patch-config.py

      depends_lib port:python24 port:wxWidgets

      worksrcdir ${distname}/wxPython

      extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs"

      use_configure no

      build.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx-devel/bin:$env(PATH)"
      build.cmd ${prefix}/bin/python2.4 setup.py
      build.target build

      destroot.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx-devel/bin:$env(PATH)"
      destroot.cmd ${build.cmd}
      destroot.destdir --prefix=${prefix} --root=${destroot}

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/
      file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/samples ${destroot}${prefix}/share/doc/${name}/examples
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)

    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/py-wxpython
      % sudo port install py-wxpython
      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 py-wxpython
      ---> Verifying checksum for py-wxpython
      ---> Extracting py-wxpython
      ---> Configuring py-wxpython
      ---> Building py-wxpython with target all
      ---> Staging py-wxpython into destroot
      ---> Installing py-wxpython
    - 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 py-wxpython with these commands:
      %  man py-wxpython
      % apropos py-wxpython
      % which py-wxpython
      % locate py-wxpython

     Where to find more information:

    Darwin Ports



    Lightbox this page.