[pygobject] Correctly build GIO on windows
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Correctly build GIO on windows
- Date: Sat, 16 Oct 2010 06:06:56 +0000 (UTC)
commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
Author: John Stowers <john stowers gmail com>
Date: Sat Oct 16 18:59:25 2010 +1300
Correctly build GIO on windows
setup.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/setup.py b/setup.py
index 480100c..5135a9d 100755
--- a/setup.py
+++ b/setup.py
@@ -157,13 +157,13 @@ gio = TemplateExtension(name='gio',
pkc_name='gio-2.0',
pkc_version=GLIB_REQUIRED,
output='gio._gio',
- defs=('gio/gio.defs', ['gio/gio-types.defs']),
+ defs='gio/gio.defs',
include_dirs=['glib'],
libraries=['pyglib'],
sources=['gio/giomodule.c',
'gio/gio.c',
'gio/pygio-utils.c'],
- register=[('gio/gio.defs', ['gio/gio-types.defs'])],
+ register=['gio/gio-types.defs'],
override='gio/gio.override')
clibs = []
@@ -207,7 +207,7 @@ else:
if gio.can_build():
ext_modules.append(gio)
py_modules += ['gio.__init__']
- data_files.append((DEFS_DIR,('gio/gio-types.defs',)))
+ data_files.append((DEFS_DIR,('gio/gio.defs', 'gio/gio-types.defs',)))
else:
raise SystemExit("ERROR: Nothing to do, gio could not be found and is essential.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]