Skip to content

Commit

Permalink
update version to 1.0.9-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Apr 16, 2024
1 parent 1d392ce commit 87221ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion epyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
__author__ = """Marios S. Kyriakou"""
__email__ = "[email protected]"
__version__ = "1.0.9-beta.3"
__version__ = "1.0.9-beta.4"
__msxversion__ = "2.0.0"
__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
3 changes: 2 additions & 1 deletion epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
c_char_p
import matplotlib.pyplot as plt
from datetime import datetime
from epyt import __version__
from epyt import __version__, __msxversion__
from shutil import copyfile
from matplotlib import cm
import matplotlib as mpl
Expand Down Expand Up @@ -11165,6 +11165,7 @@ def loadMSXFile(self, msxname, ignore_properties=False):
self.msxname = msxname[:-4] + '_temp.msx'
copyfile(msxname, self.msxname)
self.msx = epanetmsxapi(self.msxname)
print(f'MSX version {__msxversion__}.')

if ignore_properties:
self.msx.MSXEquationsTerms = self.getMSXEquationsTerms()
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from setuptools import setup
import os


# python setup.py bdist_wheel
# python setup.py sdist
# twine upload dist/* --config-file .pypirc
Expand All @@ -18,6 +19,7 @@ def read_version_from_init(file_path="epyt/__init__.py"):
else:
raise RuntimeError("Unable to find version string.")


__version__ = read_version_from_init()
module_name = 'epyt'
data = list()
Expand Down

0 comments on commit 87221ab

Please sign in to comment.