From d6a62d095cfa42c5ab4ac67017d995ce45ee158c Mon Sep 17 00:00:00 2001 From: Paul Pogonyshev Date: Sat, 18 Apr 2009 23:42:08 +0300 Subject: Remove 'ltihooks.py' as using deprecated Python module. Remove the script and all related imports. All relevant Makefile's now create symbolic links for '.so' files from '.libs' to the level up, so that C helper modules are still importable in built, but not installed source tree. --- gobject/Makefile.am | 7 +++++++ gobject/__init__.py | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'gobject') diff --git a/gobject/Makefile.am b/gobject/Makefile.am index a8f0f6f..9d0c824 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -71,3 +71,10 @@ endif if PLATFORM_WIN32 _gobject_la_CFLAGS += -DPLATFORM_WIN32 endif + + +all: $(pygobject_LTLIBRARIES:.la=.so) +clean-local: + rm -f $(pygobject_LTLIBRARIES:.la=.so) +.la.so: + $(LN_S) .libs/$@ $@ diff --git a/gobject/__init__.py b/gobject/__init__.py index 41eaaf8..d5aec45 100644 --- a/gobject/__init__.py +++ b/gobject/__init__.py @@ -21,13 +21,6 @@ # this can go when things are a little further along -try: - import ltihooks - ltihooks # pyflakes - del ltihooks -except ImportError: - pass - import sys from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \ -- cgit