X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=INSTALL;h=36b78649a086f1341d8fc0cf4f985a5bc4a14176;hb=604fff9480725be074699b0360121484b1875eaa;hp=c622d77b2a5d153649e54c7f46ebf48bbfc87881;hpb=7c13eee71186d30a85d70a3e6214865ba90ddabb;p=mpd-sima.git diff --git a/INSTALL b/INSTALL index c622d77..36b7864 100644 --- a/INSTALL +++ b/INSTALL @@ -1,26 +1,29 @@ -Design for python >= 3.3 +Design for python3 >= 3.2 Requires: python-musicpd >= 0.4.0 [0], requests >= 2.2.0 [1] - [0] http://media.kaliko.me/src/musicpd/ + [0] http://media.kaliko.me/src/musicpd/releases/ [1] http://docs.python-requests.org/ Virtualenv installation: -Run ./vinstall.sh to generate the python virtualenv and install requirements. +With python >= 3.3: + Run "python3 ./vinstall.py" to generate the python virtualenv and install + requirements (need at least python 3.3). -Default looks for python3 on the system. -It will setup a virtualenv within a "venv" directory (same level as vinstall.sh file). -It should also write a shell wrapper to run mpd-sima within the virtualenv. + 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 + ./vmpd-sima --help -You might specify a python3 interpreter if the binary name differs from python3: +For pyton < 3.3 and > 3.1 or if you prefer manual installation: - PY3=/usr/bin/python ./vinstall.sh + # On your system may be "pyenv", "python3 -m venv" or "virtualenv" + # Refer to the relevant manual to install a python env, 3.2 minimum. -You can locate the virtalenv somewhere else: - - INSTALL_DIR=/tmp/crap_test/ ./vinstall.sh + ./venv + . ./venv/bin/activate + ./setup.py install + ./venv/bin/mpd-sima --help