from sima.info import __doc__ as DESCRIPTION, __email__ as EMAIL
data_files = [
- ('share/man/man1', ['data/mpd-sima.1',]),
+ ('share/man/man1', ['data/man/mpd-sima.1',]),
#('share/man/man1', ['data/mpd-sima.1', 'data/simadb_cli.1',]),
#('share/man/man5', ['data/mpd-sima.cfg.5',]),
('share/doc/mpd-sima/examples/', glob.glob('doc/examples/*')),
song.update(title=song.pop('name'))
song.update(time=song.pop('duration'))
yield Track(**song)
- #return tops
# VIM MODLINE
# vim: ai ts=4 sw=4 sts=4 expandtab
PIP_OPTIONS=""
[ "$DEBUG" = "0" ] && PIP_OPTIONS="$PIP_OPTIONS --quiet"
-pip $PIP_OPTIONS install --pre python-musicpd || exit 1
+pip install -e . || exit 1
echo Installing mpd-sima
$(dirname $0)/setup.py --quiet install || exit 1
cat << EOF > "$SIMA_VLAUNCHER"
#!/bin/sh
. $INSTALL_DIR/venv/bin/activate
-$SIMA_LAUNCHER "\$@"
+$INSTALL_DIR/$SIMA_LAUNCHER "\$@"
EOF
chmod +x $SIMA_VLAUNCHER
echo Cleaning up
-rm -rf $(dirname $0)/dist
+rm -rf $(dirnddame $0)/dist
rm -rf $(dirname $0)/build
rm -rf $(dirname $0)/sima.egg-info