| 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 | |
|---|
| 20 | from distutils.core import setup |
|---|
| 21 | import py2exe |
|---|
| 22 | import glob |
|---|
| 23 | import sys |
|---|
| 24 | |
|---|
| 25 | sys.path.append('src') |
|---|
| 26 | includes = ['encodings', 'encodings.utf-8',] |
|---|
| 27 | |
|---|
| 28 | opts = { |
|---|
| 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 | |
|---|
| 42 | setup( |
|---|
| 43 | name = 'Gajim', |
|---|
| 44 | version = '0.7.1', |
|---|
| 45 | description = 'A Jabber client written in PyGTK', |
|---|
| 46 | windows = [{'script': 'src/gajim.py', |
|---|
| 47 | 'icon_resources': [(1, 'gajim.ico')]}], |
|---|
| 48 | options=opts, |
|---|
| 49 | |
|---|
| 50 | data_files=[('.', glob.glob('src/gtkgui.glade')), |
|---|
| 51 | ], |
|---|
| 52 | ) |
|---|