diff --git a/gwhat/meteo/tests/test_dwnld_weather_data.py b/gwhat/meteo/tests/test_dwnld_weather_data.py index 1427abea0..45487424d 100644 --- a/gwhat/meteo/tests/test_dwnld_weather_data.py +++ b/gwhat/meteo/tests/test_dwnld_weather_data.py @@ -29,7 +29,7 @@ STATIONDB = os.path.join(DATADIR, "Station Inventory EN.csv") STATIONLIST = os.path.join(DATADIR, "weather_station_list.lst") -gwhat.meteo.search_weather_data.URL_TOR = urljoin( +gwhat.meteo.weather_station_finder.URL_TOR = urljoin( 'file:', pathname2url(STATIONDB)) diff --git a/releases/gwhat.spec b/releases/gwhat.spec index a59291cca..6d78ed08f 100644 --- a/releases/gwhat.spec +++ b/releases/gwhat.spec @@ -10,11 +10,15 @@ added_files = [('../gwhat/ressources/splash.png', 'ressources'), ('../gwhat/ressources/icons_png/*.png', 'ressources/icons_png') ] +HIDDENIMPORTS = ['h5py.defs', 'h5py.utils', 'h5py.h5ac', 'h5py._proxy', + 'scipy.stats._continuous_distns', 'scipy._lib.messagestream', + 'numpy.core._dtype_ctypes'] + a = Analysis(['../gwhat/mainwindow.py'], pathex=['C:\\Program Files (x86)\\Windows Kits\\10\\Redist\\ucrt\\DLLs\\x64'], binaries=[], datas=added_files , - hiddenimports=['h5py.defs', 'h5py.utils', 'h5py.h5ac', 'h5py._proxy', 'scipy.stats._continuous_distns', 'scipy._lib.messagestream'], + hiddenimports=HIDDENIMPORTS, hookspath=[], runtime_hooks=[], excludes=['PySide', 'PyQt4'],