Skip to main content

Python Win App Packager

Project description

Python Win App Packager

Distributing end user software on windows should not require the end user to install dependancies, like python.

This tool turns a python program into a package that is suitable to be installed on window via installation software like INNO setup (

The method used to create the package copies the source code of the program, the source code from any python libraries and any required python extensions and the DLLs that depend on.

The inclusion of the source code allows users to modify the program, if they so desire.

win_app_packager supports python 3 for win64.

1.4.3 add support for python 3.10 Add test for cli tzlocal. Kits built for 3.9 and 3.10 only.

1.4.2 add support for python 3.9

1.4.1 add support for python 3.8 (includes patched

1.4.0 add support for packaging projects from a virtual env (venv).

1.3.0 supports changing the version resource of the created .EXE. The version fields that name the app are set to the app .EXE name.

The –version option allows the app’s version to be set.

Python version 3.5, 3.6 and 3.7 are supported.


py -3 -m pip install win-app-packager


C:\Users\barry> py -3 -m win_app_packager
python3 -m win_app_packager build <main-script> <package-folder> [<options>...]
    - python main module
    - folder to create package into

  Where <options> are:
        build a windows console progam (the default).
        build a windows gui program.
        name the program (defaults to the <main-script> name).
    --version <version>
        Set the version of the .EXE to be <version>.
    --install-key <key>
    --install-value <value>
        The install path of the package can be read
        from the windows registry from key HKLM:<key> value <value>
        otherwise the install path is assumed to be the same folder
        that the .EXE files is in.
    --modules-allowed-to-be-missing-file <file-name>
        Add all the modules listed in the file <file-name> to the allowed
        to be missing list. Blank lines and lines starting with a '#' as ignored.
        Do not clean out the <package-folder> before building the package.
        Useful for putting multiple programs into one package.
        Output extra information about the build process.
        Developer option. Output lots of details about the build process.
        Developer option. Copy PDF files and setup a Microsoft Visual
        Studio solution (.sln) file suitable for running the bootstrap
        under the debugger.

python3 -m win_app_packager flags <exe-file> <verbose>'
    - the win_app_package create EXE file to modify
    - either "0" or "1". The value to see the python verbose flag to.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

win_app_packager-1.4.3.tar.gz (772.6 kB view hashes)

Uploaded source

Built Distributions

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page