gajim

view setup_win32.py @ 13621:2eed9411ae2d

better way to handle non supported hash algorithms
author Jefry Lagrange <jefry.reyes@gmail.com>
date Tue, 24 Jan 2012 16:51:26 -0500
parents 50d609e2b30b
children 5f30a3c91901
line source
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.
12 ##
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.
17 ##
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/>.
20 ##
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', 'dumbdbm', 'dbhash', 'bsddb', 'new', 'potr',
35 'goocanvas'],
36 'base': 'Win32GUI',
37 'bin_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 'libgio-2.0-0.dll',
41 'libglib-2.0-0.dll', 'libgmodule-2.0-0.dll',
42 'libgobject-2.0-0.dll', 'libgthread-2.0-0.dll',
43 'libgtk-win32-2.0-0.dll', 'libpango-1.0-0.dll',
44 'libpangowin32-1.0-0.dll', 'libcairo-2.dll',
45 'libpangocairo-1.0-0.dll', 'libpangoft2-1.0-0.dll',
46 ],
47 }
48 }
51 setup(
52 name='Gajim',
53 version='0.15',
54 description='A full featured Jabber client',
55 author='Gajim Development Team',
56 url='http://gajim.org/',
57 download_url='http://gajim.org/downloads.php',
58 license='GPL',
59 options=options,
60 executables=[Executable('src/gajim.py', icon='data/pixmaps/gajim.ico'),
61 Executable('src/history_manager.py', icon='data/pixmaps/gajim.ico')],
62 )