Skip to content

Commit

Permalink
needs python3-cairo in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Sep 29, 2021
1 parent 7e5afc6 commit 1175f79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Package: key-mapper
Version: 1.1.0
Architecture: all
Maintainer: Sezanzeb <[email protected]>
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
5 changes: 3 additions & 2 deletions keymapper/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,13 @@ def format(self, record):
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)

Expand Down

0 comments on commit 1175f79

Please sign in to comment.