Unverified Commit ba9113fb authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Allow adding a suffix to the version number (#4701)

parent f5fc52ff
......@@ -128,9 +128,10 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
from setuptools import Extension
setupKeywords = {}
setupKeywords["name"] = "OpenMM"
setupKeywords["version"] = "%s.%s.%s" % (major_version_num,
setupKeywords["version"] = "%s.%s.%s%s" % (major_version_num,
minor_version_num,
build_info)
build_info,
os.getenv('VERSION_SUFFIX', ''))
setupKeywords["author"] = "Peter Eastman"
setupKeywords["license"] = \
"Python Software Foundation License (BSD-like)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment