bumblebee-status/thirdparty/xkbgroup/version.py
Tobias Witek d45b80dc52 [modules] Add layout-xkb using xkbgroup to display current layout
Package xkbgroup as "thirdparty", because it was slightly patched
for python2.x compatibility.

see #177
2017-09-30 11:18:36 +02:00

27 lines
570 B
Python

# -*- coding: utf-8 -*-
"""
xkbgroup.version
~~~~~~~~~~~~~~~~
This module collects all version-related utilities.
Global variables:
* VERSION: current version of this library.
Functions:
* print_version: pretty prints current version.
:copyright: (c) 2016 by Nguyen Duc My.
:license: MIT, see LICENSE for more details.
"""
VERSION = "0.1.4.3"
def print_version(progname):
"""Prints the version along with the specified program name."""
print("{} {}".format(progname, VERSION))
__all__ = ["VERSION", "print_version"]