mirror of
https://github.com/openmm/openmm
synced 2026-06-03 06:39:48 +09:00
Modified __version__ in setup.py to automatically pick up appropriate version numbers.
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
"""
|
||||
setup.py: Used for building python wrappers for Simbios' OpenMM library.
|
||||
"""
|
||||
__author__ = "Randall J. Radmer"
|
||||
__version__ = "6.3"
|
||||
|
||||
import ast
|
||||
import re
|
||||
import os
|
||||
@@ -18,6 +15,8 @@ MINOR_VERSION_NUM='@OPENMM_MINOR_VERSION@'
|
||||
BUILD_INFO='@OPENMM_BUILD_VERSION@'
|
||||
IS_RELEASED = False
|
||||
|
||||
__author__ = "Randall J. Radmer"
|
||||
__version__ = "%s.%s" % (MAJOR_VERSION_NUM, MINOR_VERSION_NUM)
|
||||
|
||||
def reportError(message):
|
||||
sys.stdout.write("ERROR: ")
|
||||
|
||||
Reference in New Issue
Block a user