X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=INSTALL;h=ac0b895230999b3001bdd69029ef1d3a5b9ad3fd;hb=86e9450a8775181fa3d478b4d9057bc7f43b67f7;hp=f93e22f2d385497543e918d916aa224a26e4bd6e;hpb=19825fb8eeef286e40d12e265d846798e7d7d73d;p=mpd-sima.git diff --git a/INSTALL b/INSTALL index f93e22f..ac0b895 100644 --- a/INSTALL +++ b/INSTALL @@ -1,12 +1,28 @@ +Design for python >= 3.2 + +Requires: python-musicpd >= 0.4.0 [0], + requests >= 2.2.0 [1] + + [0] http://media.kaliko.me/src/musicpd/ + [1] http://docs.python-requests.org/ + + Virtualenv installation: -Run ./vinstall.sh to generate the python virtualenv and install requirements. -You might specify a python3 interpreter if the binary name defers from python3.3 : +Run "python3 ./vinstall.py" to generate the python virtualenv and install +requirements (need at least python 3.3). - PY3=/usr/bin/python ./vinstall.sh +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. -It should also write a vlaunch sh wrapper to run sima within the virtualenv. + ./vmpd-sima --help - ./vlaunch --help +You might prefer manual installation: + # 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