From 42d60a9e684b37ea78262b0765347191a40e9f3a Mon Sep 17 00:00:00 2001 From: Dmitry Moiseev Date: Thu, 7 Nov 2013 14:31:34 +0600 Subject: Added setup.py for py2exe --- setup.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..4db493a --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +from distutils.core import setup +import glob +import py2exe + +setup( + name = 'parrotziktray', + description = 'Parrot Zik Tray', + version = '0.1', + + windows = [ + { + 'script': 'ParrotZikTray.py', + 'icon_resources': [(1, "./icons/Headphone.ico")], + } + ], + + options = { + 'py2exe': { + #'packages':'encodings', + # Optionally omit gio, gtk.keysyms, and/or rsvg if you're not using them + 'includes': 'cairo, pango, pangocairo, atk, gobject, gio, gtk.keysyms, _winreg', + } + }, + + data_files=[ + ("icons", glob.glob("icons/*.png")) + # If using GTK+'s built in SVG support, uncomment these + #os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'gdk-pixbuf-query-loaders.exe'), + #os.path.join(gtk_base_path, '..', 'runtime', 'bin', 'libxml2-2.dll'), + ] +) \ No newline at end of file -- cgit v1.2.1