Skip to content

Commit febda2e

Browse files
committed
Merge pull request #47 from bastibe/installation-instructions
Installation instructions
2 parents 56fc286 + 88916e5 commit febda2e

File tree

1 file changed

+14
-26
lines changed

1 file changed

+14
-26
lines changed

README.rst

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PySoundFile
22
===========
33

44
`PySoundFile <https://github.com/bastibe/PySoundFile>`__ is an audio
5-
library based on libsndfile, CFFI and Numpy. Full documentation is
5+
library based on libsndfile, CFFI and NumPy. Full documentation is
66
available on http://pysoundfile.readthedocs.org/.
77

88
PySoundFile can read and write sound files. File reading/writing is
@@ -30,34 +30,22 @@ function arguments and the removal of the indexing interface.
3030
Installation
3131
------------
3232

33-
PySoundFile depends on the Python packages CFFI and Numpy, and the
33+
PySoundFile depends on the Python packages CFFI and NumPy, and the
3434
system library libsndfile.
3535

3636
To install the Python dependencies, I recommend using the `Anaconda
37-
<http://continuum.io/downloads#34>`__ Distribution of Python. Anaconda
38-
provides the ``conda`` package manager, which will install all
39-
dependencies using ``conda install cffi numpy`` (conda is also
40-
independently available on pip).
41-
42-
You will also need to install `libsndfile
43-
<http://www.mega-nerd.com/libsndfile/>`__. On Windows, libsndfile is
44-
included in the binary installers (see below). On OS X, `homebrew
45-
<http://www.mega-nerd.com/libsndfile/>`__ can install libsndfile using
46-
``brew install libsndfile``. On Linux, use your distribution's package
47-
manager, for example ``sudo apt-get install libsndfile``.
48-
49-
With CFFI, Numpy, and libsndfile installed, you can use `pip
50-
<http://pip.readthedocs.org/en/latest/installing.html>`__ to install
51-
`PySoundFile <https://pypi.python.org/pypi/PySoundFile/0.6.0>`__ with
52-
``pip install pysoundfile`` or ``pip install pysoundfile --user`` if you
53-
don't have administrator privileges. If you are running Windows you
54-
should download the Windows installers for PySoundFile instead (which
55-
also include libsndfile):
56-
57-
| `PySoundFile-0.6.0.win-amd64-py2.7 <https://github.com/bastibe/PySoundFile/releases/download/0.6.0/PySoundFile-0.6.0.win-amd64-py2.7.exe>`__
58-
| `PySoundFile-0.6.0.win-amd64-py3.4 <https://github.com/bastibe/PySoundFile/releases/download/0.6.0/PySoundFile-0.6.0.win-amd64-py3.4.exe>`__
59-
| `PySoundFile-0.6.0.win32-py2.7 <https://github.com/bastibe/PySoundFile/releases/download/0.6.0/PySoundFile-0.6.0.win32-py2.7.exe>`__
60-
| `PySoundFile-0.6.0.win32-py3.4 <https://github.com/bastibe/PySoundFile/releases/download/0.6.0/PySoundFile-0.6.0.win32-py3.4.exe>`__
37+
<http://continuum.io/downloads>`__ distribution of Python 3. This will
38+
come with all dependencies pre-installed. To install the dependencies
39+
manually, you can use the ``conda`` package manager, which will
40+
install all dependencies using ``conda install cffi numpy`` (conda is
41+
also available independently of Anaconda with ``pip install conda;
42+
conda init``).
43+
44+
With CFFI and NumPy installed, you can use ``pip install pysoundfile``
45+
to download and install the latest release of PySoundFile. On Windows
46+
and OS X, this will also install the library libsndfile. On Linux, you
47+
need to install libsndfile using your distribution's package manager,
48+
for example ``sudo apt-get install libsndfile1``.
6149

6250
Read/Write Functions
6351
--------------------

0 commit comments

Comments
 (0)