From c2782293d452184b4ea6eac005e17af9230eb25b Mon Sep 17 00:00:00 2001 From: shagi Date: Mon, 16 Sep 2024 18:06:04 +0200 Subject: [PATCH] feat: remove kivy python dependency, require system dependency in the readme --- README.md | 40 +++++++++++++++--------------------- negromate/karaoke/karaoke.py | 2 +- requirements.txt | 1 - setup.cfg | 1 - 4 files changed, 17 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 63d3907..1d81080 100644 --- a/README.md +++ b/README.md @@ -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 . diff --git a/negromate/karaoke/karaoke.py b/negromate/karaoke/karaoke.py index 0c11fff..41b4227 100755 --- a/negromate/karaoke/karaoke.py +++ b/negromate/karaoke/karaoke.py @@ -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 diff --git a/requirements.txt b/requirements.txt index d50ac42..b66e470 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -Kivy==2.0.0 negromate.songs==1.4 diff --git a/setup.cfg b/setup.cfg index e8f2beb..39df8da 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,7 +22,6 @@ packages = find_namespace: zip_safe = false python_requires = >= 3.4 install_requires = - kivy negromate.songs ==1.4 [options.entry_points]