Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
#some standard encodings
includes.append('encodings.ascii')
includes.append('encodings.utf_8')
includes.append('encodings.latin_1')
import PyMca5
import hdf5plugin
import silx
import pkg_resources
SILX = True
special_modules = [os.path.dirname(PyMca5.__file__),
os.path.dirname(matplotlib.__file__),
os.path.dirname(ctypes.__file__),
os.path.dirname(fisx.__file__),
os.path.dirname(hdf5plugin.__file__),
os.path.dirname(silx.__file__),
os.path.dirname(pkg_resources.__file__)]
try:
import tomogui
special_modules.append(os.path.dirname(tomogui.__file__))
import freeart
special_modules.append(os.path.dirname(freeart.__file__))
except:
pass
excludes = ["Tkinter", "tkinter",
'tcl','_tkagg', 'Tkconstants',
"scipy", "Numeric", "numarray", "PyQt5"]