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

    py-numpy  most recent diff


    version 1.3.0

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The py-numpy Portfile 49210 2009-04-05 16:42:11Z ram macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-numpy
      Version: 1.3.0
      Category: python
      Platform: darwin
      Maintainers: dh openmaintainer
      Description: The core utilities for the scientific library scipy for Python
      Long Description: ${description}

      Homepage: http://numpy.scipy.org/
      Master Sites: sourceforge:numpy
      distname numpy-${version}

      Checksums: md5 3f7773ff0971a5ebb8591536d8ec7bd6 sha1 c04998a1fbf7d990c9a2b99a7b62486012c570ac rmd160 a75155d2014204e16c59857b92356353505c39b9

      Patch Files: patch-g95_link.diff patch-f2py_setup.py.diff

      depends_lib-append port:fftw-3 port:py-nose

      post-patch {
      reinplace "s| MPORTS_PREFIX |${prefix}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py
      reinplace "s| MPORTS_PYTHON |${python.bin}|" ${worksrcpath}/numpy/f2py/setup.py
      }

      post-destroot {
      move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py2.4
      }

      livecheck.distname NumPy

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.