Added maintainer

This commit is contained in:
Dimitris Zlatanidis 2016-01-03 01:13:22 +02:00
parent 7f69c5f5e8
commit 6f468db98f
2 changed files with 8 additions and 5 deletions

View file

@ -81,6 +81,7 @@ class MetaData(object):
__version__ = "{0}.{1}.{2}".format(*__version_info__) __version__ = "{0}.{1}.{2}".format(*__version_info__)
__license__ = "GNU General Public License v3 (GPLv3)" __license__ = "GNU General Public License v3 (GPLv3)"
__email__ = "d.zlatanidis@gmail.com" __email__ = "d.zlatanidis@gmail.com"
__maintainer__ = "Dimitris Zlatanidis (dslackw)"
# Default Slackware release # Default Slackware release
slack_rel = "stable" slack_rel = "stable"

View file

@ -28,8 +28,10 @@ from slpkg.__metadata__ import MetaData as _meta_
def prog_version(): def prog_version():
"""Print version, license and email """Print version, license and email
""" """
print("Version : {0}\n" print("Version : {0}\n"
"Licence : {1}\n" "Licence : {1}\n"
"Email : {2}".format(_meta_.__version__, "Email : {2}\n"
_meta_.__license__, "Maintainer: {3}".format(_meta_.__version__,
_meta_.__email__)) _meta_.__license__,
_meta_.__email__,
_meta_.__maintainer__))