needs python3-cairo in ubuntu

This commit is contained in:
sezanzeb 2021-09-29 20:10:39 +02:00
parent a821b1e98f
commit 8f3f421700
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,6 @@ Package: key-mapper
Version: 1.1.0
Architecture: all
Maintainer: Sezanzeb <proxima@sezanzeb.de>
Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-setuptools, python3-evdev, python3-pydbus, python3-gi, gettext
Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-setuptools, python3-evdev, python3-pydbus, python3-gi, gettext, python3-cairo
Description: A tool to change the mapping of your input device buttons
Replaces: python3-key-mapper

View File

@ -147,12 +147,13 @@ logger.addHandler(handler)
logger.setLevel(logging.INFO)
logging.getLogger("asyncio").setLevel(logging.WARNING)
VERSION = ""
EVDEV_VERSION = None
try:
VERSION = pkg_resources.require("key-mapper")[0].version
EVDEV_VERSION = pkg_resources.require("evdev")[0].version
except pkg_resources.DistributionNotFound as error:
VERSION = ""
EVDEV_VERSION = None
logger.info("Could not figure out the version")
logger.debug(error)