diff --git a/docs/changelog.rst b/docs/changelog.rst index 7bff7946..b3247e83 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -9,6 +9,11 @@ v0.15.0 (UNRELEASED) (no description yet) +**Dependencies** + +- Mopidy no longer supports Python 2.6. Currently, the only Python version + supported by Mopidy is Python 2.7. + v0.14.1 (2013-04-28) ==================== diff --git a/docs/installation/index.rst b/docs/installation/index.rst index ae8f6b01..85e07c9d 100644 --- a/docs/installation/index.rst +++ b/docs/installation/index.rst @@ -131,12 +131,6 @@ Pip. PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages mopidy - Note that you need to replace ``python2.7`` with ``python2.6`` in the above - ``PYTHONPATH`` examples if you are using Python 2.6. To find your Python - version, run:: - - python --version - #. Next up, you need to install some Python packages. To do so, we use Pip. If you don't have the ``pip`` command, you can install it now:: @@ -157,7 +151,7 @@ Otherwise: Install from source using Pip If you are on on Linux, but can't install from the APT archive or from AUR, you can install Mopidy from PyPI using Pip. -#. First of all, you need Python >= 2.6, < 3. Check if you have Python and what +#. First of all, you need Python 2.7. Check if you have Python and what version by running:: python --version diff --git a/mopidy/__init__.py b/mopidy/__init__.py index 14646df6..12694927 100644 --- a/mopidy/__init__.py +++ b/mopidy/__init__.py @@ -9,9 +9,9 @@ import warnings import pykka -if not (2, 6) <= sys.version_info < (3,): +if not (2, 7) <= sys.version_info < (3,): sys.exit( - 'Mopidy requires Python >= 2.6, < 3, but found %s' % + 'Mopidy requires Python >= 2.7, < 3, but found %s' % '.'.join(map(str, sys.version_info[:3]))) if (isinstance(pykka.__version__, basestring)