Skip to content

Commit

Permalink
update version of epyt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Jan 30, 2024
1 parent a11a773 commit 2b3f026
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion epyt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
__author__ = """Marios S. Kyriakou"""
__email__ = "[email protected]"
__version__ = "1.0.8"
__version__ = "1.0.9"
__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 @@ -62,6 +62,7 @@
from inspect import getmembers, isfunction, currentframe, getframeinfo
import matplotlib.pyplot as plt
from datetime import datetime
from epyt import __version__
from shutil import copyfile
from matplotlib import cm
import matplotlib as mpl
Expand Down Expand Up @@ -520,8 +521,7 @@ def __init__(self, *argv, version=2.2, loadfile=False):
'NOT', 'BELOW', 'ABOVE']

# Initial attributes
self.classversion = '1.0.7'
self.api = epanetapi(version)
self.classversion = __version__
print(f'EPANET version {self.getVersion()} '
f'loaded (EPyT version {self.classversion}).')

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from setuptools import setup
from epyt import __version__
import os

# python setup.py bdist_wheel
Expand All @@ -25,7 +26,7 @@

setup(
name=module_name,
version="1.0.8",
version=f"{__version__}",
author="Marios S. Kyriakou",
author_email="[email protected]",
description='EPyT: An EPANET-Python Toolkit for Smart Water Network Simulations. The EPyT is inspired by the '
Expand Down

0 comments on commit 2b3f026

Please sign in to comment.