aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2012-12-15 22:02:27 -0800
committerBrian Dolbec <dolsen@gentoo.org>2012-12-15 22:02:27 -0800
commit3c8551569c74743c6e8ac705fd11b9b20a509c0d (patch)
treefc9137bbe06be14a922571b9e2c0d14495fdc057
parentFix setup.py to use PVR instead of VERSION from the environment so that egg-i... (diff)
downloadmirrorselect-3c8551569c74743c6e8ac705fd11b9b20a509c0d.tar.gz
mirrorselect-3c8551569c74743c6e8ac705fd11b9b20a509c0d.tar.bz2
mirrorselect-3c8551569c74743c6e8ac705fd11b9b20a509c0d.zip
Fix setup.py's __version__ so either VERSION or PVR will assign the version so repoman won't complain.
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 7a53076..32c7e1d 100755
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ import os
import io
-__version__ = os.getenv('PVR', default='9999')
+__version__ = os.getenv('VERSION', default=os.getenv('PVR', default='9999'))
cwd = os.getcwd()