Skip to content

Commit

Permalink
Merge pull request #900 from vasole/mac
Browse files Browse the repository at this point in the history
[PyInstaller] Module secrets missing in package
  • Loading branch information
vasole authored Aug 19, 2022
2 parents 05398fe + 543e930 commit fd3e8d4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions PyMca5/PyMcaGui/io/hdf5/HDF5CounterTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(self, parent=None, row=0, column=0, shape=None):
self._column = column
self._selector = False
self._selection = qt.QCheckBox(self)
self._selection.setText(" ")
self._selectionType = qt.QComboBox(self)
self._optionsList = ["full", "index"]
if shape:
Expand Down
1 change: 1 addition & 0 deletions PyMca5/PyMcaGui/io/hdf5/HDF5McaTable.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(self, parent=None, row=0, column=0, shape=None):
self._column = column
self._selector = False
self._selection = qt.QCheckBox(self)
self._selection.setText(" ")
self._selectionType = qt.QComboBox(self)
self._optionsList = ["sum", "average", "index"]
if shape:
Expand Down
4 changes: 3 additions & 1 deletion PyMca5/PyMcaPlugins/MedianFilterScanDeglitchPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@


class MedianFilterScanDeglitchPlugin(Plugin1DBase.Plugin1DBase):
'''Median-filter-based deglitching'
"""
Median-filter-based deglitching
"""
def __init__(self, plotWindow, **kw):
Plugin1DBase.Plugin1DBase.__init__(self, plotWindow, **kw)
self.methodDict = {
Expand Down
2 changes: 1 addition & 1 deletion package/pyinstaller/pyinstaller.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ else:

logger.info("Using icon <%s>" % icon)

hiddenimports = []
hiddenimports = ["secrets"] # needed by numpy 1.23.2
hiddenimports += collect_submodules('encodings.ascii')
hiddenimports += collect_submodules('encodings.utf_8')
hiddenimports += collect_submodules('encodings.latin_1')
Expand Down

0 comments on commit fd3e8d4

Please sign in to comment.