Py-wxpython26 version 2.6.3.3 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    py-wxpython26  most recent diff


    version 2.6.3.3

      View the most recent changes for the py-wxpython26 port at: py-wxpython26.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py-wxpython26.
      The raw portfile for py-wxpython26 2.6.3.3 is located here:
      http://py-wxpython26.darwinports.com/dports/python/py-wxpython26/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-wxpython26


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

      PortSystem 1.0

      Name: py-wxpython26
      Version: 2.6.3.3
      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: sha1 e55a3a8cfbd1aff394be15297ae205a8c597bed8
      Patch Files: patch-config.py.diff

      depends_lib port:python24 port:wxWidgets26

      worksrcdir ${distname}/wxPython

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

      use_configure no

      build.env WX_CONFIG="${prefix}/bin/wx-config" UNICODE="1" WXPORT="mac"
      build.cmd ${prefix}/bin/python2.4 setup.py
      build.target build

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.