Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Windows Compilation

Indiv0 edited this page Jan 30, 2014 · 2 revisions

Prerequisites

  • pyinstaller
    • upx
  • python 2.7
    • virtualenv
    • setuptools

In order to be able to use PyInstaller on Windows (to package the script as a .exe), you must also get pywin32.

Setup

Install the dependencies for this script:

pip install -r requirements

Create a virtualenv:

virtualenv --python=python.exe venv

Activate the virtualenv:

venv\Scripts\activate.bat

Copy cacert.pem from venv\Lib\python2.7\site-packages\certifi\cacert.pem to the application's root directory.

Package

Execute pyinstaller to package the script:

pyinstaller launchcraft.spec

Clone this wiki locally