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")
from hyo2.openbst.lib.products.product_plotting import ProductPlotting # on Linux, this must be imported first from hyo2.abc.app.app_info import AppInfo from hyo2.openbst import __version__ app_info = AppInfo() app_info.app_name = "Arch" app_info.app_version = __version__ app_info.app_author = "G.Masetti (CCOM/JHC); Jean-Marie Augustin (IFREMER); Cyrille Poncelet (IFREMER)" app_info.app_author_email = "[email protected]; [email protected]; [email protected]" app_info.app_license = "LGPL v3" app_info.app_license_url = "https://www.hydroffice.org/license/" app_info.app_path = os.path.abspath(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)) app_info.app_url = "https://www.hydroffice.org/openbst/" app_info.app_manual_url = "https://www.hydroffice.org/manuals/openbst/index.html" app_info.app_support_email = "*****@*****.**" app_info.app_latest_url = "https://www.hydroffice.org/latest/openbst.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, "arch_icon.png") # icon size app_info.app_tabs_icon_size = 36 app_info.app_toolbars_icon_size = 24