import os from hyo2.abc.app.app_info import AppInfo from hyo2.kng.top.top4kctrl import name, __version__ app_info = AppInfo() app_info.app_name = name app_info.app_version = __version__ app_info.app_author = "Giuseppe Masetti(UNH,CCOM)" app_info.app_author_email = "*****@*****.**" app_info.app_license = "LGPLv3" app_info.app_license_url = "https://www.hydroffice.org/license/" app_info.app_path = os.path.abspath(os.path.dirname(__file__)) app_info.app_url = "https://www.hydroffice.org/kng/" app_info.app_manual_url = "https://www.hydroffice.org/manuals/kng/index.html" app_info.app_support_email = "*****@*****.**" app_info.app_latest_url = "https://www.hydroffice.org/latest/top4kctrl.txt" app_info.app_media_path = os.path.join(app_info.app_path, "media") app_info.app_main_window_object_name = "MainWindow" app_info.app_license_path = os.path.join(app_info.app_media_path, "LICENSE") app_info.app_icon_path = os.path.join(app_info.app_media_path, "app_icon.png")
import logging import os from hyo2.abc.app.app_info import AppInfo from hyo2.abc.lib.lib_info import LibInfo name = "SSM-SIS" __version__ = '1.0.2' logger = logging.getLogger(__name__) logger.addHandler(logging.NullHandler()) app_info = AppInfo() app_info.app_name = name app_info.app_version = __version__ app_info.app_path = os.path.abspath(os.path.dirname(__file__)) app_info.app_media_path = os.path.join(app_info.app_path, "media") app_info.app_icon_path = os.path.join(app_info.app_media_path, "ssm_sis.png") lib_info = AppInfo() lib_info.lib_name = name lib_info.lib_version = __version__ lib_info.lib_url = "https://www.hydroffice.org/ssm_sis/" lib_info.lib_latest_url = "https://www.hydroffice.org/latest/ssm_sis.txt"