root/branches/gajim_0.9.1/setup_win32.py

Revision 4700, 2.0 kB (checked in by asterix, 3 years ago)

change copyright from "Gajim Team" to real people

Line 
1## setup_win32.py (run me as python setup_win32.py py2exe -O2)
2##
3## Contributors for this file:
4## - Yann Le Boulanger <asterix@lagaule.org>
5## - Nikos Kouremenos <kourem@gmail.com>
6##
7## Copyright (C) 2003-2004 Yann Le Boulanger <asterix@lagaule.org>
8##                         Vincent Hanquez <tab@snarc.org>
9## Copyright (C) 2005 Yann Le Boulanger <asterix@lagaule.org>
10##                    Vincent Hanquez <tab@snarc.org>
11##                    Nikos Kouremenos <nkour@jabber.org>
12##                    Dimitur Kirov <dkirov@gmail.com>
13##                    Travis Shirk <travis@pobox.com>
14##                    Norman Rasmussen <norman@rasmussen.co.za>
15##
16## This program is free software; you can redistribute it and/or modify
17## it under the terms of the GNU General Public License as published
18## by the Free Software Foundation; version 2 only.
19##
20## This program is distributed in the hope that it will be useful,
21## but WITHOUT ANY WARRANTY; without even the implied warranty of
22## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23## GNU General Public License for more details.
24##
25
26from distutils.core import setup
27import py2exe
28import glob
29import sys
30
31sys.path.append('src')
32includes = ['encodings', 'encodings.utf-8',]
33
34opts = {
35    'py2exe': {
36        'includes': 'pango,atk,gobject,encodings,encodings.*',
37        'dll_excludes': [
38            'iconv.dll','intl.dll','libatk-1.0-0.dll',
39            'libgdk_pixbuf-2.0-0.dll','libgdk-win32-2.0-0.dll',
40            'libglib-2.0-0.dll','libgmodule-2.0-0.dll',
41            'libgobject-2.0-0.dll','libgthread-2.0-0.dll',
42            'libgtk-win32-2.0-0.dll','libpango-1.0-0.dll',
43            'libpangowin32-1.0-0.dll'
44        ],
45    }
46}
47
48setup(
49    name = 'Gajim',
50    version = '9',
51    description = 'A Jabber client written in PyGTK',
52    windows = [{'script': 'src/gajim.py',
53                'icon_resources': [(1, 'data/pixmaps/gajim.ico')]}],
54    options=opts,
55
56    data_files=[('.', glob.glob('src/gtkgui.glade')),
57    ],
58)
Note: See TracBrowser for help on using the browser.