summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.py
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2008-10-30 02:07:43 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-10-30 02:07:43 +0000
commit845f179db5ec240316f960c8c77b31a69aecc561 (patch)
tree6df15f283cbbec2581f189a7ae2d8d41fc673718 /giscanner/sourcescanner.py
parent7a89d675ec370fd824be73a33750b1089e48c835 (diff)
downloadgobject-introspection-845f179db5ec240316f960c8c77b31a69aecc561.tar.gz
Bug 558383 – builddir != srcdir build fails if giscanner python module
2008-10-30 Johan Dahlin <jdahlin@async.com.br> Bug 558383 – builddir != srcdir build fails if giscanner python module not already installed * gir/Makefile.am: construct PYTHONPATH just once * tests/everything/Makefile.am: * tests/scanner/Makefile.am: add $(top_srcdir) to PYTHONPATH to handle builddir != srcdir * giscanner/libtoolimporter.py: * giscanner/sourcescanner.py: Make the libtoolimporter work when distchecking too. Mostly based on patch by Tommi Komulainen svn path=/trunk/; revision=833
Diffstat (limited to 'giscanner/sourcescanner.py')
-rw-r--r--giscanner/sourcescanner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index 519a1d95..0e6aef58 100644
--- a/giscanner/sourcescanner.py
+++ b/giscanner/sourcescanner.py
@@ -186,7 +186,7 @@ class SourceScanner(object):
def __init__(self):
with LibtoolImporter:
- from _giscanner import SourceScanner
+ from giscanner._giscanner import SourceScanner
self._scanner = SourceScanner()
self._filenames = []
self._cpp_options = []