I've found this code to remove undistributable windows dlls on web2py setup file.
I believe they should be include on getdeps.py excludes set.
PS: I've managed to work around this manipulating getdeps.excludes before freezing
if remove_msft_dlls:
(...)
then delete some other files belonging to Microsoft
other_ms_files = ['KERNELBASE.dll', 'MPR.dll', 'MSWSOCK.dll','POWRPROF.dll']
for f in other_ms_files:
try:
os.unlink(os.path.join('dist', f))
except:
(...)
I've found this code to remove undistributable windows dlls on web2py setup file. I believe they should be include on getdeps.py excludes set.
PS: I've managed to work around this manipulating getdeps.excludes before freezing
source: http://mdp.cti.depaul.edu/classwork/static/work/csc299/2013/web2py/extras/build_web2py/setup_exe.py