# Path: tecs/__main__.py
# def run():
#     error_count = main()
# 
#     errors_fmt = '\nThere are some errors, check out the log-file: {}.'
#     total_time_fmt = 'Total processing time: {: .3f} min.'
# 
#     if error_count != 0:
#         errors = errors_fmt.format(CFG.logFile)
#         print(errors)
# 
#     end_time = time.time()
# 
#     total_time = (end_time - START_TIME) / 60.
#     print(total_time_fmt.format(total_time))


import os
import sys
from builtins import str
from tecs.__main__ import run
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# tec-suite is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with tec-suite.  If not, see <http://www.gnu.org/licenses/>.

""" """
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals


if os.name == 'nt':
    try:
        wd = os.getcwd()
        os.environ['PATH'] = "%s;%s" % (wd, os.environ['PATH'])
        run()
    except Exception as err:
        print(str(err))
    finally:
        msg = '\nPress Enter key to close the window.'
        print(msg)
        sys.stdin.readline()
else:

# Path: tecs/__main__.py
# def run():
#     error_count = main()
# 
#     errors_fmt = '\nThere are some errors, check out the log-file: {}.'
#     total_time_fmt = 'Total processing time: {: .3f} min.'
# 
#     if error_count != 0:
#         errors = errors_fmt.format(CFG.logFile)
#         print(errors)
# 
#     end_time = time.time()
# 
#     total_time = (end_time - START_TIME) / 60.
#     print(total_time_fmt.format(total_time))


# Path: tecs.py
import os
import sys
from builtins import str
from tecs.__main__ import run

# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# tec-suite is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with tec-suite.  If not, see <http://www.gnu.org/licenses/>.

""" """
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals


if os.name == 'nt':
    try:
        wd = os.getcwd()
        os.environ['PATH'] = "%s;%s" % (wd, os.environ['PATH'])
        run()
    except Exception as err:
        print(str(err))
    finally:
        msg = '\nPress Enter key to close the window.'
        print(msg)
        sys.stdin.readline()
else:

    run()