From: kaliko Date: Tue, 15 Dec 2020 14:04:50 +0000 (+0100) Subject: Fixed ancient INSTALL instructions X-Git-Tag: 0.16.0~1 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=9d84f9266abb6a2b19a884701bb3ebf619fb11b9;hp=3fd14200872f1c24679ce5057075aa27b0370bbf;p=mpd-sima.git Fixed ancient INSTALL instructions --- diff --git a/INSTALL b/INSTALL index 1b02e69..bdd3f84 100644 --- a/INSTALL +++ b/INSTALL @@ -1,29 +1,24 @@ -Designed for python3 >= 3.2 +Designed for python3 >= 3.6 -Requires: python-musicpd >= 0.4.0 [0], - requests >= 2.2.0 [1] +Requires: python-musicpd [0], + requests [1] - [0] http://media.kaliko.me/src/musicpd/releases/ + [0] https://pypi.org/project/python-musicpd/ [1] http://docs.python-requests.org/ -Virtualenv installation: +Virtualenv installation from source: -With python >= 3.3: - Run "python3 ./vinstall.py" to generate the python virtualenv and install - requirements (need at least python 3.3). + Run "python3 ./vinstall.py" from the source to generate the python virtualenv and install + requirements. It will setup a virtualenv within a "venv" directory (same level as vinstall.py file). It should also write a shell wrapper to run mpd-sima within the virtualenv. ./vmpd-sima --help -For python < 3.3 or if you prefer manual installation: +Virtualenv installation with pip: - # On your system may be "pyenv", "python3 -m venv" or "virtualenv" - # Refer to the relevant manual to install a python env, 3.2 minimum. - - ./venv - . ./venv/bin/activate - ./setup.py install - ./venv/bin/mpd-sima --help + python3 -m venv mpd-sima + ./mpd-sima/bin/pip install MPD-sima + ./mpd-sima/bin/mpd-sima --help