2005-01-07 22:52:38 +01:00
|
|
|
## common/setup.py
|
|
|
|
##
|
|
|
|
## Gajim Team:
|
|
|
|
## - Yann Le Boulanger <asterix@lagaule.org>
|
|
|
|
## - Vincent Hanquez <tab@snarc.org>
|
|
|
|
##
|
|
|
|
## Copyright (C) 2003-2005 Gajim Team
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published
|
|
|
|
## by the Free Software Foundation; version 2 only.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
|
2004-05-28 06:20:30 +02:00
|
|
|
from distutils.core import setup, Extension
|
2005-02-15 23:53:54 +01:00
|
|
|
import os
|
2004-05-28 06:20:30 +02:00
|
|
|
|
2005-02-15 23:53:54 +01:00
|
|
|
if os.name == 'posix':
|
|
|
|
module1 = Extension( 'idle',
|
|
|
|
sources = ['idle.c'],
|
|
|
|
# extra_compile_args = ['-W'],
|
|
|
|
libraries = ['gtk-x11-2.0','gdk-x11-2.0','glib-2.0','X11','Xext','Xss','atk-1.0'],
|
|
|
|
library_dirs = ['/usr/X11R6/lib'],
|
|
|
|
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']
|
|
|
|
)
|
|
|
|
elif os.name == 'nt':
|
|
|
|
module1 = Extension( 'idle',
|
|
|
|
sources = ['idle.c'],
|
|
|
|
# extra_compile_args = ['-W'],
|
|
|
|
)
|
2004-05-28 06:20:30 +02:00
|
|
|
|
|
|
|
setup (name = 'idle', version = '1.0', description = 'interface to X11/scrnserver.h', ext_modules = [module1])
|