Skip to content

Generate .EXEs to make life easier for Windows admins #13

@jay0lee

Description

@jay0lee

PyInstaller makes it pretty simple to generate single-file .EXEs (32 and 64 bit) for Windows users. This is much easier than walking them through installing Python, pip-installing dependencies and then running the script.

Basic steps to setup a Windows buld machine would be:

  1. On x64 machine, install Python 2.7.11 for both x64 and x32. Our .bat file expects the paths c:\python27 and c:\python27-32 respectively (that can be changed as needed).
  2. Run

c:\python27\scripts\pip install google-api-python-client
c:\python27-32\sripts\pip install google-api-python-client

to install the API Client, oauth2client and other necessary libaries.
3. Install 7-zip to handle .zip of .exe and license so it can be added to a release on GitHub. http://www.7-zip.org/download.html
4. Now from the import-mailbox-to-gmail source folder it should be possible to run:
build.bat 1.3

to compile the .EXEs and zip them so that they are ready for release.

Pull requests inbound...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions