root/branches/gajim_0.6/common/setup.py

Revision 439, 1.3 kB (checked in by asterix, 4 years ago)

module idle can now my used under windows 2k / XP

Line 
1##      common/setup.py
2##
3## Gajim Team:
4##      - Yann Le Boulanger <asterix@lagaule.org>
5##      - Vincent Hanquez <tab@snarc.org>
6##
7##      Copyright (C) 2003-2005 Gajim Team
8##
9## This program 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 2 only.
12##
13## This program 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
19from distutils.core import setup, Extension
20import os
21
22if os.name == 'posix':
23        module1 = Extension( 'idle',
24                sources = ['idle.c'],
25#               extra_compile_args = ['-W'],
26                libraries = ['gtk-x11-2.0','gdk-x11-2.0','glib-2.0','X11','Xext','Xss','atk-1.0'],
27                library_dirs = ['/usr/X11R6/lib'],
28                include_dirs = ['/usr/include/gtk-2.0', '/usr/include/glib-2.0','/usr/lib/gtk-2.0/include','/usr/lib/glib-2.0/include','/usr/include/pango-1.0','/usr/include/atk-1.0']
29        )
30elif os.name == 'nt':
31        module1 = Extension( 'idle',
32                sources = ['idle.c'],
33#               extra_compile_args = ['-W'],
34        )
35
36setup (name = 'idle', version = '1.0', description = 'interface to X11/scrnserver.h', ext_modules = [module1])
Note: See TracBrowser for help on using the browser.