feat: remove kivy python dependency, require system dependency in the readme
This commit is contained in:
parent
a76b268e05
commit
c2782293d4
40
README.md
40
README.md
|
@ -1,17 +1,27 @@
|
||||||
Negro Mate Karaoke
|
Negro Mate Karaoke
|
||||||
==================
|
==================
|
||||||
|
|
||||||
Simple karaoke bideo browser.
|
Simple karaoke video browser.
|
||||||
|
|
||||||
|
This module provides one extra command to negromate:
|
||||||
|
|
||||||
|
negromate karaoke: GUI for negromate karaoke
|
||||||
|
|
||||||
|
|
||||||
|
Uses Kivy, a fairly large python library. It could be more easy to install this
|
||||||
|
package if Kivy is already installed in the system.
|
||||||
|
|
||||||
|
VLC is also used to play the songs.
|
||||||
|
|
||||||
|
Needs the following packages installed:
|
||||||
|
|
||||||
|
* python3-kivy (at least version 2.1.0)
|
||||||
|
* vlc
|
||||||
|
|
||||||
Uses kivy, installation instructions here: https://kivy.org/doc/stable/installation/installation-devel.html
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Launch:
|
|
||||||
|
|
||||||
negromate karaoke
|
|
||||||
|
|
||||||
Keyboard shortcuts:
|
Keyboard shortcuts:
|
||||||
|
|
||||||
- A: Previous song
|
- A: Previous song
|
||||||
|
@ -19,21 +29,3 @@ Keyboard shortcuts:
|
||||||
- D: Next song
|
- D: Next song
|
||||||
|
|
||||||
The songs are played with vlc, so to exit a playing song: `Ctrl-C`.
|
The songs are played with vlc, so to exit a playing song: `Ctrl-C`.
|
||||||
|
|
||||||
|
|
||||||
Install Mini-howto
|
|
||||||
------------------
|
|
||||||
Instalation uses the pep517 packaging format, whichs requires pip version
|
|
||||||
19 or newer.
|
|
||||||
|
|
||||||
pip install "pip>=19"
|
|
||||||
|
|
||||||
Install dependencies for Kivy:
|
|
||||||
|
|
||||||
apt-get install python3-dev python-setuptools python-pygame python-opengl \
|
|
||||||
python-enchant python-dev build-essential python-pip libgl1-mesa-dev \
|
|
||||||
libgles2-mesa-dev zlib1g-dev
|
|
||||||
|
|
||||||
Install this package
|
|
||||||
|
|
||||||
pip install .
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
import kivy
|
import kivy
|
||||||
kivy.require('2.0.0')
|
kivy.require('2.1.0')
|
||||||
|
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
from kivy.core.text import LabelBase
|
from kivy.core.text import LabelBase
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
Kivy==2.0.0
|
|
||||||
negromate.songs==1.4
|
negromate.songs==1.4
|
||||||
|
|
Loading…
Reference in New Issue