Require Python 2.7
This commit is contained in:
parent
264c097bc4
commit
d7453982b8
@ -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)
|
||||
====================
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user