From 2c83245947d4a1d5db695ff19531563c2e1532ce Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 7 Jul 2011 12:46:49 -0400 Subject: [PATCH] add Makefile/setup.py to build .exe distribution --- .gitignore | 2 ++ Makefile | 9 +++++++++ setup.py | 11 +++++++++++ 3 files changed, 22 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 setup.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d0b71a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build +dist diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ef77e63 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ + +.PHONY: dist +dist: + -rm -rf dist + pythonw setup.py py2exe + +.PHONY: clean +clean: + -rm -rf build dist diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..732ace6 --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from distutils.core import setup +import py2exe + +setup( + windows = ['pygtk-imap-chk.py'], + options = { + 'py2exe': { + 'includes': 'cairo, pango, pangocairo, atk, gobject, gio' + } + } + )