Skip to content

Commit

Permalink
updated setup.py for abc2
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Jan 20, 2024
1 parent c540ece commit 8e63bf7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions freeze/SoundSpeedManager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ output_folder = os.path.join("cartopy", "data", "shapefiles", "natural_earth", "
cartopy_data = collect_folder_data(input_data_folder=share_folder, relative_output_folder=output_folder,
recursively=True)

# pyside6_data = collect_pkg_data('PySide6')
abc_data = collect_pkg_data('hyo2.abc2')
ss_data = collect_pkg_data('hyo2.soundspeed')
ssm_data = collect_pkg_data('hyo2.soundspeedmanager')
Expand All @@ -127,7 +126,7 @@ if is_darwin:
a = Analysis(['SoundSpeedManager.py'],
pathex=[],
hiddenimports=[],
excludes=['wx', 'PySide2', 'PyQt5'],
excludes=['qgis', 'pandas', 'PyQt5', 'PySide2', 'shiboken2', 'wx'],
hookspath=None,
runtime_hooks=None)

Expand Down
2 changes: 1 addition & 1 deletion hyo2/soundspeedmanager/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def gui():
"""Create the application and show the Sound Speed Manager gui"""
from hyo2.soundspeedmanager.mainwin import MainWin
logger.debug("Init app ...")
app = QtWidgets.QApplication()
app = QtWidgets.QApplication(sys.argv)
AppStyle.apply(app=app)

if Helper.is_script_already_running():
Expand Down
4 changes: 2 additions & 2 deletions hyo2/soundspeedmanager/widgets/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def __init__(self, main_win, lib):
self.main_layout.addLayout(hbox)
hbox.addStretch()
self.group_box = QtWidgets.QGroupBox("Synthetic Profile Server")
self.group_box.setMaximumHeight(120)
self.group_box.setFixedWidth(500)
self.group_box.setMaximumHeight(150)
self.group_box.setFixedWidth(580)
hbox.addWidget(self.group_box)
hbox.addStretch()

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def find_version(*file_paths):
install_requires=[
"appdirs",
"gsw",
"hyo2.abc>=0.4.0",
"hyo2.abc2>=2.2.1",
"matplotlib",
"netCDF4",
"numpy",
Expand Down

0 comments on commit 8e63bf7

Please sign in to comment.