add Makefile/setup.py to build .exe distribution

This commit is contained in:
Josh Holtrop 2011-07-07 12:46:49 -04:00
parent 9e325a9437
commit 2c83245947
3 changed files with 22 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
build
dist

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
.PHONY: dist
dist:
-rm -rf dist
pythonw setup.py py2exe
.PHONY: clean
clean:
-rm -rf build dist

11
setup.py Normal file
View File

@ -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'
}
}
)