schmir / bbfreeze

UNMAINTAINED
http://pypi.python.org/pypi/bbfreeze/
92 stars 22 forks source link

Exclude other Windows DLLs #26

Closed andreydani closed 10 years ago

andreydani commented 10 years ago

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:
        (...)

source: http://mdp.cti.depaul.edu/classwork/static/work/csc299/2013/web2py/extras/build_web2py/setup_exe.py

schmir commented 10 years ago

Thanks for reporting.

MSWSOCK.dll and POWRPROF.dll are already excluded.