diff options
author | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-04-18 23:42:08 +0300 |
---|---|---|
committer | Paul Pogonyshev <pogonyshev@gmx.net> | 2009-04-18 23:42:08 +0300 |
commit | d6a62d095cfa42c5ab4ac67017d995ce45ee158c (patch) | |
tree | 9440e9ea80cb2bc5b616e20b343c9ad59fdcb5cc /gobject | |
parent | 549a656122f11a969917f1f333b1e3416b3fb47d (diff) | |
download | pygobject-d6a62d095cfa42c5ab4ac67017d995ce45ee158c.tar.gz pygobject-d6a62d095cfa42c5ab4ac67017d995ce45ee158c.tar.xz pygobject-d6a62d095cfa42c5ab4ac67017d995ce45ee158c.zip |
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.
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/Makefile.am | 7 | ||||
-rw-r--r-- | gobject/__init__.py | 7 |
2 files changed, 7 insertions, 7 deletions
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, \ |