feat: remove kivy python dependency, require system dependency in the readme

This commit is contained in:
Ales (Shagi) Zabala Alava 2024-09-16 18:06:04 +02:00
parent a76b268e05
commit c2782293d4
4 changed files with 17 additions and 27 deletions

View File

@ -1,17 +1,27 @@
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
-----
Launch:
negromate karaoke
Keyboard shortcuts:
- A: Previous song
@ -19,21 +29,3 @@ Keyboard shortcuts:
- D: Next song
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 .

View File

@ -3,7 +3,7 @@ import os
import subprocess
import kivy
kivy.require('2.0.0')
kivy.require('2.1.0')
from kivy.app import App
from kivy.core.text import LabelBase

View File

@ -1,2 +1 @@
Kivy==2.0.0
negromate.songs==1.4

View File

@ -22,7 +22,6 @@ packages = find_namespace:
zip_safe = false
python_requires = >= 3.4
install_requires =
kivy
negromate.songs ==1.4
[options.entry_points]