-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
141 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,19 @@ | ||
""" | ||
Hydro-Package | ||
Sound Speed Manager | ||
""" | ||
import logging | ||
import os | ||
|
||
from hyo2.abc2.app.app_info import AppInfo | ||
from hyo2.ssm2 import pkg_info | ||
|
||
logger = logging.getLogger(__name__) | ||
logger.addHandler(logging.NullHandler()) | ||
|
||
name = "Sound Speed Manager" | ||
__version__ = "2024.0.0" | ||
__copyright__ = "Copyright 2024 University of New Hampshire, Center for Coastal and Ocean Mapping" | ||
|
||
app_info = AppInfo() | ||
|
||
app_info.app_name = name | ||
app_info.app_version = __version__ | ||
app_info.app_author = "Giuseppe Masetti(UNH,CCOM); Barry Gallagher(NOAA,OCS); " \ | ||
"Chen Zhang(NOAA,OCS)" | ||
app_info.app_author_email = "gmasetti@ccom.unh.edu; barry.gallagher@noaa.gov; " \ | ||
"chen.zhang@noaa.gov" | ||
|
||
app_info.app_license = "LGPLv2.1 or CCOM-UNH Industrial Associate license" | ||
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/soundspeed/" | ||
app_info.app_manual_url = "https://www.hydroffice.org/manuals/soundspeed/index.html" | ||
app_info.app_support_email = "soundspeedmanager@hydroffice.org" | ||
app_info.app_latest_url = "https://www.hydroffice.org/latest/soundspeedmanager.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") | ||
|
||
# icon size | ||
app_info.app_tabs_icon_size = 36 | ||
app_info.app_toolbars_icon_size = 24 | ||
app_path = os.path.abspath(os.path.dirname(__file__)) | ||
app_media_path = os.path.join(app_path, "media") | ||
|
||
app_info = pkg_info.app_info( | ||
app_name="Sound Speed Manager", | ||
app_beta=True, | ||
app_path=app_path, | ||
app_media_path=app_media_path, | ||
app_license_path=os.path.join(app_media_path, "LICENSE"), | ||
app_icon_path=os.path.join(app_media_path, "app_icon.png") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.