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 /gio | |
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 'gio')
-rw-r--r-- | gio/Makefile.am | 9 | ||||
-rw-r--r-- | gio/__init__.py | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/gio/Makefile.am b/gio/Makefile.am index d47dda9..a0f356d 100644 --- a/gio/Makefile.am +++ b/gio/Makefile.am @@ -93,3 +93,12 @@ endif --prefix py$(*F) $*.defs) > $(*D)/gen-$(*F).c \ && cp $(*D)/gen-$(*F).c $(*D)/$(*F).c \ && rm -f $(*D)/gen-$(*F).c + + +if BUILD_GIO +all: $(pkgpyexec_LTLIBRARIES:.la=.so) +clean-local: + rm -f $(pkgpyexec_LTLIBRARIES:.la=.so) +.la.so: + $(LN_S) .libs/$@ $@ +endif diff --git a/gio/__init__.py b/gio/__init__.py index 9f9fe2c..c4b02bb 100644 --- a/gio/__init__.py +++ b/gio/__init__.py @@ -19,14 +19,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA -# this can go when things are a little further along -try: - import ltihooks - ltihooks # pyflakes - del ltihooks -except ImportError: - pass - from gobject import GObjectMeta from _gio import * from _gio import \ |