source: interfaces/python/README.md @ ba00fd7

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since ba00fd7 was c3d286c, checked in by Paul Brossier <piem@piem.org>, 11 years ago

README.md: add pip install matplotlib

  • Property mode set to 100644
File size: 1.6 KB
Line 
1Python aubio module
2===================
3
4This module wraps the aubio library for python using the numpy module.
5
6See the [Python/C API Reference
7Manual](http://docs.python.org/c-api/index.html) and the [Numpy/C API
8Reference](http://docs.scipy.org/doc/numpy/reference/c-api.html)
9
10Compiling python aubio on Mac OS X
11----------------------------------
12
13Note: the following URLs to download from are given as examples only, you
14should check the corresponding pages for newer versions
15
16Download and install python 2.7 from [python.org](http://www.python.org/)
17
18    $ curl -O http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg
19    $ open python-2.7.3-macosx10.6.dmg
20    # follow the instructions
21
22Download and install [setuptools](http://pypi.python.org/pypi/setuptools)
23 
24    $ curl -O http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
25    $ ${SUDO} sh setuptools-0.6c9-py2.4.egg
26
27Download and install [pip](http://www.pip-installer.org/en/latest/installing.html)
28
29    $ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
30    $ ${SUDO} python get-pip.py
31
32Download and install [matplotlib](http://matplotlib.sourceforge.net/)
33
34    $ pip install matplotlib
35
36Alternatively, you can fetch the fully fledged [Scipy
37superpack](http://fonnesbeck.github.com/ScipySuperpack/)
38
39    $ curl -O https://raw.github.com/fonnesbeck/ScipySuperpack/master/install_superpack.sh
40    $ sh install_superpack.sh
41
42You should now be able to build the new python module. make sure the
43variables are correct in the file `build_osx` before running it:
44
45    $ ./build_osx
Note: See TracBrowser for help on using the repository browser.