summaryrefslogtreecommitdiffstats
path: root/gio
diff options
context:
space:
mode:
Diffstat (limited to 'gio')
-rw-r--r--gio/Makefile.am9
-rw-r--r--gio/__init__.py8
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 \