from distutils.core import setup
import py2exe
setup(
    options = {'py2exe': {
        'bundle_files': 3,
        "dll_excludes": [
                "api-ms-win-core-heap-l2-1-0.dll",
                "api-ms-win-core-delayload-l1-1-1.dll",
                "api-ms-win-core-libraryloader-l1-2-0.dll",
                "api-ms-win-security-activedirectoryclient-l1-1-0.dll",
                "api-ms-win-core-path-l1-1-0.dll",
                "api-ms-win-core-winrt-l1-1-0.dll",
                "api-ms-win-core-libraryloader-l1-2-1.dll",
                "api-ms-win-downlevel-shlwapi-l2-1-1.dll",
                "api-ms-win-core-sidebyside-l1-1-0.dll",
                "api-ms-win-core-sidebyside-l1-1-0.dll",
                "api-ms-win-shlwapi-winrt-storage-l1-1-1.dll",
                "api-ms-win-eventing-obsolete-l1-1-0.dll",
                "api-ms-win-core-quirks-l1-1-0.dll",
                "api-ms-win-core-errorhandling-l1-1-3.dll",
                "api-ms-win-core-atoms-l1-1-0.dll",
                "api-ms-win-core-heap-l1-2-0.dll",
                "api-ms-win-core-registry-l2-2-0.dll",
                "api-ms-win-core-registryuserspecific-l1-1-0.dll",
                "api-ms-win-core-synch-l1-2-1.dll",
                "api-ms-win-core-winrt-string-l1-1-0.dll",
                "api-ms-win-core-localization-obsolete-l1-3-0.dll",
                "api-ms-win-core-shlwapi-obsolete-l1-2-0.dll",
                "api-ms-win-core-apiquery-l1-1-0.dll",
                "api-ms-win-core-file-l1-2-2.dll",
                "api-ms-win-security-base-l1-2-0.dll",
                "api-ms-win-core-com-l1-1-1.dll",
                "api-ms-win-core-crt-l2-1-0.dll",
                "api-ms-win-core-crt-l1-1-0.dll",
                "api-ms-win-core-psapi-l1-1-0.dll",
                "api-ms-win-core-com-midlproxystub-l1-1-0.dll"
            ]
        }
    },
    zipfile = None,
    windows = [{
        'script': "wms_gui.py",
        "icon_resources": [(0, "resources/images/owasp_wms.ico")]
    }]
)
