From: Paul Brossier Date: Sat, 9 Feb 2013 21:22:29 +0000 (-0500) Subject: interfaces/python/README.md: simplify X-Git-Tag: 0.4.0-beta1~335^2~32 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f400ea167b7b8f0ed000acafe5637c5689bb29b4;p=aubio.git interfaces/python/README.md: simplify --- diff --git a/interfaces/python/README.md b/interfaces/python/README.md index 53197b0c..f0054369 100644 --- a/interfaces/python/README.md +++ b/interfaces/python/README.md @@ -4,42 +4,21 @@ Python aubio module This module wraps the aubio library for python using the numpy module. See the [Python/C API Reference -Manual](http://docs.python.org/c-api/index.html) and the [Numpy/C API +Manual] (http://docs.python.org/c-api/index.html) and the [Numpy/C API Reference](http://docs.scipy.org/doc/numpy/reference/c-api.html) Compiling python aubio on Mac OS X ---------------------------------- -Note: the following URLs to download from are given as examples only, you -should check the corresponding pages for newer versions +You should now be able to build the aubio python module out of the box on a +recent version of OS X (10.8.x). Make sure the variables are correct in the +file `build_osx` before running it: -Download and install python 2.7 from [python.org](http://www.python.org/) - - $ curl -O http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg - $ open python-2.7.3-macosx10.6.dmg - # follow the instructions - -Download and install [setuptools](http://pypi.python.org/pypi/setuptools) - - $ curl -O http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg - $ ${SUDO} sh setuptools-0.6c9-py2.4.egg - -Download and install [pip](http://www.pip-installer.org/en/latest/installing.html) - - $ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py - $ ${SUDO} python get-pip.py - -Download and install [matplotlib](http://matplotlib.sourceforge.net/) - - $ pip install matplotlib + $ ./build_osx -Alternatively, you can fetch the fully fledged [Scipy -superpack](http://fonnesbeck.github.com/ScipySuperpack/) +Additionally, you can fetch tools such [matplotlib](http://matplotlib.org/) to +use the demo scripts. One easy way to do it is to fetch the fully fledged +[Scipy superpack](http://fonnesbeck.github.com/ScipySuperpack/) $ curl -O https://raw.github.com/fonnesbeck/ScipySuperpack/master/install_superpack.sh $ sh install_superpack.sh - -You should now be able to build the new python module. make sure the -variables are correct in the file `build_osx` before running it: - - $ ./build_osx