py2exe

py2exe is a Python Distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python installation.Spice

Installation

# py2exe
conda install -c https://conda.anaconda.org/clinicalgraphics cg-py2exe

Build 1

python setup.py py2exe
# build PyQT
python setup.py py2exe --includes sip

Known Issues

Error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat) (link)

How to fix

Step 1: Install Visual Studio 2015

Step 2:

set VS100COMNTOOLS=%VS140COMNTOOLS%