diff options
author | Johan Dahlin <jdahlin@async.com.br> | 2008-10-30 02:07:43 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-10-30 02:07:43 +0000 |
commit | 845f179db5ec240316f960c8c77b31a69aecc561 (patch) | |
tree | 6df15f283cbbec2581f189a7ae2d8d41fc673718 /giscanner/sourcescanner.py | |
parent | 7a89d675ec370fd824be73a33750b1089e48c835 (diff) | |
download | gobject-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.py | 2 |
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 = [] |