From fd7c894a881eca4acdedcf45664b27b8e9b30a49 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 21 Apr 2014 16:59:43 +0100 Subject: Use one location for version info --- setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 4394dc2..ae9d34a 100644 --- a/setup.py +++ b/setup.py @@ -27,10 +27,6 @@ import cliapp import distixlib -def distix_version(): - return '.'.join(str(x) for x in distixlib.__version__) - - class Check(Command): user_options = [ @@ -66,7 +62,7 @@ class Check(Command): setup(name='distix', - version=distix_version(), + version=distixlib.version_string, description='Distributed ticketing system', author='Lars Wirzenius', author_email='liw@liw.fi', -- cgit v1.2.1