X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=INSTALL;h=1b02e697aea1cfb439cb8639110a76afc9fa209a;hb=6b8c9ddcae39abc6e6c1e9859050b7a87fe19b84;hp=337766ea8a7a65404af0299d6255f19344ee83c8;hpb=0fc638e7c231c9024664bd51e990a597121f04c0;p=mpd-sima.git diff --git a/INSTALL b/INSTALL index 337766e..1b02e69 100644 --- a/INSTALL +++ b/INSTALL @@ -1,17 +1,29 @@ -Virtualenv installation: +Designed for python3 >= 3.2 + +Requires: python-musicpd >= 0.4.0 [0], + requests >= 2.2.0 [1] + + [0] http://media.kaliko.me/src/musicpd/releases/ + [1] http://docs.python-requests.org/ -Run ./vinstall.sh to generate the python virtualenv and install requirements. -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. +Virtualenv installation: + +With python >= 3.3: + Run "python3 ./vinstall.py" to generate the python virtualenv and install + requirements (need at least python 3.3). - ./vmpd-sima --help + 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. -You might specify a python3 interpreter if the binary name differs from python3: + ./vmpd-sima --help - PY3=/usr/bin/python ./vinstall.sh +For python < 3.3 or if you prefer manual installation: -You can locate the virtalenv somewhere else: + # On your system may be "pyenv", "python3 -m venv" or "virtualenv" + # Refer to the relevant manual to install a python env, 3.2 minimum. - INSTALL_DIR=/tmp/crap_test/ ./vinstall.sh + ./venv + . ./venv/bin/activate + ./setup.py install + ./venv/bin/mpd-sima --help