X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=INSTALL;h=bdd3f84d9709c68e861c9867d9e5540f0f22b4c0;hb=2b41de301271772c0a4667e81e1f2d180f349279;hp=c622d77b2a5d153649e54c7f46ebf48bbfc87881;hpb=7c13eee71186d30a85d70a3e6214865ba90ddabb;p=mpd-sima.git diff --git a/INSTALL b/INSTALL index c622d77..bdd3f84 100644 --- a/INSTALL +++ b/INSTALL @@ -1,26 +1,24 @@ -Design for python >= 3.3 +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/ + [0] https://pypi.org/project/python-musicpd/ [1] http://docs.python-requests.org/ -Virtualenv installation: +Virtualenv installation from source: -Run ./vinstall.sh to generate the python virtualenv and install requirements. + Run "python3 ./vinstall.py" from the source 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. + 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: +Virtualenv installation with pip: - PY3=/usr/bin/python ./vinstall.sh - -You can locate the virtalenv somewhere else: - - INSTALL_DIR=/tmp/crap_test/ ./vinstall.sh + python3 -m venv mpd-sima + ./mpd-sima/bin/pip install MPD-sima + ./mpd-sima/bin/mpd-sima --help