From 6e8c9130a3de9f2f717df84a383196556b74ec97 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Mon, 8 Jul 2013 23:00:42 +0200 Subject: [PATCH] Fixed setup.py --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index e69a9dc..587b496 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from setuptools import setup, find_packages -import re +from setuptools import setup import os import sys +version = '0.1.0' if sys.argv[-1] == 'publish': os.system("python setup.py sdist upload") @@ -18,7 +18,7 @@ if sys.argv[-1] == 'publish': setup( name='python-yubikey', - version='0.1.0', + version=version, url='http://github.com/fmartingr/python-yubikey', license='GPLv2', description='Simple Yubico API Wrappers', @@ -34,4 +34,4 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', ] -) \ No newline at end of file +)