report versions of components

Fixes: https://pagure.io/koji/issue/2430
This commit is contained in:
Tomas Kopecek 2020-08-17 16:45:29 +02:00
parent 729f84767c
commit ba908fd2de
13 changed files with 70 additions and 21 deletions

View file

@ -30,9 +30,14 @@ def get_install_requires():
return requires
def get_version():
exec(open('koji/_version.py', 'rt').read())
return(locals()['__version__'])
setup(
name="koji",
version="1.22.1",
version=get_version(),
description=("Koji is a system for building and tracking RPMS. The base"
" package contains shared libraries and the command-line"
" interface."),