fix detecting non-anonymous when 100 code is sent in initial presence.
[gajim.git] / setup_win32.py
blob7a94bb72471cbd11155013b9fdadf8b9be4e40e4
1 ## setup_win32.py (run me as python setup_win32.py py2exe -O2)
2 ##
3 ## Copyright (C) 2003-2010 Yann Leboulanger <asterix AT lagaule.org>
4 ## Copyright (C) 2005-2006 Nikos Kouremenos <kourem AT gmail.com>
5 ## Copyright (C) 2008 Jonathan Schleifer <js-gajim AT webkeks.org>
6 ##
7 ## This file is part of Gajim.
8 ##
9 ## Gajim is free software; you can redistribute it and/or modify
10 ## it under the terms of the GNU General Public License as published
11 ## by the Free Software Foundation; version 3 only.
13 ## Gajim is distributed in the hope that it will be useful,
14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ## GNU General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
22 from cx_Freeze import setup, Executable
23 import glob
24 import sys
25 import os
27 sys.path.append('src')
28 # Use local gtk folder instead of the one in PATH that is not latest gtk
29 if 'gtk' in os.listdir('.'):
30 sys.path.append('gtk/bin')
32 options = {
33 'build_exe': {
34 'includes': ['gtk.keysyms'],
35 'base': 'Win32GUI',
36 'bin_excludes': [
37 'iconv.dll', 'intl.dll', 'libatk-1.0-0.dll',
38 'libgdk_pixbuf-2.0-0.dll', 'libgdk-win32-2.0-0.dll',
39 'libgio-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', 'libcairo-2.dll',
44 'libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll',
50 setup(
51 name='Gajim',
52 version='0.14.1',
53 description='A full featured Jabber client',
54 author='Gajim Development Team',
55 url='http://www.gajim.org/',
56 download_url='http://www.gajim.org/downloads.php',
57 license='GPL',
58 options=options,
59 executables=[Executable('src/gajim.py', icon='data/pixmaps/gajim.ico'),
60 Executable('src/history_manager.py', icon='data/pixmaps/gajim.ico')],