Commit fbfb8097 authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Modified __version__ in setup.py to automatically pick up appropriate version numbers.

parent 88fa7542
...@@ -3,9 +3,6 @@ ...@@ -3,9 +3,6 @@
""" """
setup.py: Used for building python wrappers for Simbios' OpenMM library. setup.py: Used for building python wrappers for Simbios' OpenMM library.
""" """
__author__ = "Randall J. Radmer"
__version__ = "6.3"
import ast import ast
import re import re
import os import os
...@@ -18,6 +15,8 @@ MINOR_VERSION_NUM='@OPENMM_MINOR_VERSION@' ...@@ -18,6 +15,8 @@ MINOR_VERSION_NUM='@OPENMM_MINOR_VERSION@'
BUILD_INFO='@OPENMM_BUILD_VERSION@' BUILD_INFO='@OPENMM_BUILD_VERSION@'
IS_RELEASED = False IS_RELEASED = False
__author__ = "Randall J. Radmer"
__version__ = "%s.%s" % (MAJOR_VERSION_NUM, MINOR_VERSION_NUM)
def reportError(message): def reportError(message):
sys.stdout.write("ERROR: ") sys.stdout.write("ERROR: ")
......
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