From 69e3212aa56116458ce47c90ffba31769016206f Mon Sep 17 00:00:00 2001 From: Joseph Montoya Date: Fri, 21 Feb 2020 15:30:16 -0800 Subject: [PATCH] v2020.2.21 release --- beep/__init__.py | 4 ++-- setup.py | 4 ++-- tasks.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/beep/__init__.py b/beep/__init__.py index 878f132e..7c7cc9b5 100644 --- a/beep/__init__.py +++ b/beep/__init__.py @@ -21,7 +21,7 @@ # Versioning. The python code version is frequently tagged # with a commit hash from the repo, which is supplied via # an environment variable by the integration build procedure -__version__ = "2019.09.19" +__version__ = "2020.2.21" VERSION_TAG = os.environ.get("BEEP_VERSION_TAG") if VERSION_TAG is not None: __version__ = '-'.join([__version__, VERSION_TAG]) @@ -85,4 +85,4 @@ logger.addHandler(hdlr) logger.setLevel('DEBUG') -logger.propagate = False +logger.propagate = False \ No newline at end of file diff --git a/setup.py b/setup.py index e2192c0d..980ecf91 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup(name="beep", url="https://github.com/ToyotaResearchInstitute/beep", - version="02.21.2020", + version="2020.2.21", packages=find_packages(), install_requires=["numpy==1.18.1", "monty==3.0.2", @@ -59,4 +59,4 @@ "materials", "battery", "chemistry", "science", "electrochemistry", "energy", "AI", "artificial intelligence" ], - ) + ) \ No newline at end of file diff --git a/tasks.py b/tasks.py index fd5708c6..a99ad07c 100644 --- a/tasks.py +++ b/tasks.py @@ -34,7 +34,7 @@ def set_ver(ctx): lines = [] with open("beep/__init__.py", "rt") as f: for l in f: - if "__version__" in l: + if l.startswith("__version__"): lines.append('__version__ = "%s"' % NEW_VER) else: lines.append(l.rstrip())