import logging
import optparse
import sys
+import distutils.version
from wizard import command, deploy, git
application = args[0]
except IndexError:
parser.error("Use 'wizard configure --help APP' to see APP-specific options.")
+ version = None # not relevant
else:
tag = git.describe()
application, _, version = tag.partition('-')
options, args = parser.parse_all(argv)
handler.handle(options)
- app.install(options)
+ app.install(distutils.version.LooseVersion(version), options)