root/branches/gajim_0.8.2/setup_win32.py

Revision 3130, 1.6 kB (checked in by asterix, 3 years ago)

ico has moved

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