@@ -8,7 +8,7 @@ Documentation:
88 http://python-sounddevice.readthedocs.io/
99
1010Source code repository and issue tracker:
11- http ://github.com/spatialaudio/python-sounddevice/
11+ https ://github.com/spatialaudio/python-sounddevice/
1212
1313License:
1414 MIT -- see the file ``LICENSE `` for details.
@@ -33,11 +33,15 @@ pip/setuptools:
3333 Those are needed for the installation of the Python module and its
3434 dependencies. Most systems will have these installed already, but if not,
3535 you should install it with your package manager or you can download and
36- install pip and setuptools as described on the `pip installation `_ page.
37- If you happen to have pip but not setuptools, use this command::
36+ install ``pip `` and ``setuptools `` as described on the `pip installation `_
37+ page.
38+ If you happen to have ``pip `` but not ``setuptools ``, use this command::
3839
3940 python3 -m pip install setuptools --user
4041
42+ To upgrade to a newer version of an already installed package (including
43+ ``pip `` itself), use the ``--upgrade `` flag.
44+
4145CFFI:
4246 The `C Foreign Function Interface for Python `_ is used to access the C-API
4347 of the PortAudio library from within Python. It supports CPython 2.6, 2.7,
@@ -63,17 +67,19 @@ NumPy (optional):
6367 NumPy at all.
6468 If you need NumPy, you should install it with your package manager or use a
6569 Python distribution that already includes NumPy (see above).
66- Installing NumPy with pip requires a compiler and several additional
67- libraries and is therefore not recommended for beginners.
70+ You can also install NumPy with ``pip ``, but depending on your platform, this
71+ might require a compiler and several additional libraries::
72+
73+ python3 -m pip install NumPy --user
6874
6975.. _PortAudio : http://www.portaudio.com/
7076.. _NumPy : http://www.numpy.org/
71- .. _Python : http ://www.python.org/
72- .. _Anaconda : http ://docs.continuum.io/anaconda /
77+ .. _Python : https ://www.python.org/
78+ .. _Anaconda : https ://www.anaconda.com/download /
7379.. _WinPython : http://winpython.github.io/
7480.. _C Foreign Function Interface for Python : http://cffi.readthedocs.io/
7581.. _PyPy : http://pypy.org/
76- .. _pip installation : http ://www. pip-installer.org /en/latest/installing.html
82+ .. _pip installation : https ://pip.pypa.io /en/latest/installing/
7783
7884Installation
7985------------
@@ -85,13 +91,15 @@ to download and install the latest release with a single command::
8591
8692If you want to install it system-wide for all users (assuming you have the
8793necessary rights), you can just drop the ``--user `` option.
94+ If you have installed the module already, you can use the ``--upgrade `` flag to
95+ get the newest release.
8896
8997To un-install, use::
9098
9199 python3 -m pip uninstall sounddevice
92100
93101If you are using Windows, you can alternatively install one of the packages
94- provided at http ://www.lfd.uci.edu/~gohlke/pythonlibs/#sounddevice.
102+ provided at https ://www.lfd.uci.edu/~gohlke/pythonlibs/#sounddevice.
95103The PortAudio library is also included in the package and you can get the rest
96104of the dependencies on the same page.
97105
0 commit comments