提交 9d466723 authored 作者: David Warde-Farley's avatar David Warde-Farley

Always include micro version.

上级 b62cc0e1
...@@ -40,12 +40,7 @@ MICRO = 0 ...@@ -40,12 +40,7 @@ MICRO = 0
SUFFIX = "rc3" # Should be blank except for rc's, betas, etc. SUFFIX = "rc3" # Should be blank except for rc's, betas, etc.
ISRELEASED = False ISRELEASED = False
if MICRO > 0: VERSION = '%d.%d.%d%s' % (MAJOR, MINOR, MICRO, SUFFIX)
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
else:
VERSION = "%d.%d" % (MAJOR, MINOR)
VERSION += SUFFIX
# Return the hg revision as a string -- borrowed from hg_version in NumPy's # Return the hg revision as a string -- borrowed from hg_version in NumPy's
# setup.py file # setup.py file
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论