setup: use the __version__ attribute to set the version in setup.py

Conflicts:
	setup.py
This commit is contained in:
Brian Stinson 2016-04-27 21:11:33 -05:00
parent 05c687c5f4
commit d60709c4b1
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
from setuptools import setup
from centpkg import __version__
setup(
name = "centpkg",
version = "0.4.4",
version = __version__,
author = "Brian Stinson",
author_email = "bstinson@ksu.edu",
description = "CentOS Plugin to rpkg for managing RPM package sources",

View file

@ -25,7 +25,7 @@ from pyrpkg import Commands, rpkgError
from centos import centos_cert
from . import cli
__version__ = '0.5.0'
__version__ = '0.4.5'
class DistGitDirectory(object):