Skip to content

Commit

Permalink
add __lastupdate__ in version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Jun 24, 2024
1 parent 901e7d5 commit e9a6cc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion epyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
__author__ = """Marios S. Kyriakou"""
__email__ = "[email protected]"
__version__ = "1.1.8"
__version__ = "1.1.9"
__msxversion__ = "200000"
__lastupdate__ = "24/06/2024"
__copyright__ = """Copyright 2022, KIOS Research and Innovation Center of Excellence (KIOS CoE),
University of Cyprus (www.kios.org.cy)."""
__license__ = "EUPL License, Version 1.2"
Expand Down
4 changes: 2 additions & 2 deletions epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
from types import SimpleNamespace
import matplotlib.pyplot as plt
from datetime import datetime
from epyt import __version__, __msxversion__
from epyt import __version__, __msxversion__, __lastupdate__
from shutil import copyfile
from matplotlib import cm
import matplotlib as mpl
Expand Down Expand Up @@ -579,7 +579,7 @@ def __init__(self, *argv, version=2.2, ph=False, loadfile=False, customlib=None,
self.display_msg = display_msg
if self.display_msg and self.customlib is None:
print(f'EPANET version {self.getVersion()} '
f'loaded (EPyT version {self.classversion}).')
f'loaded (EPyT version v{self.classversion} - Last Update: {__lastupdate__}).')

# ToolkitConstants: Contains all parameters from epanet2_2.h
self.ToolkitConstants = ToolkitConstants()
Expand Down

0 comments on commit e9a6cc4

Please sign in to comment.