mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
Avoid using - (hyphen) in gdbus-codegen directory name
It's an invalid character in Python module names and prevents us from being able to import it. https://bugzilla.gnome.org/show_bug.cgi?id=650763
This commit is contained in:
parent
33831bda24
commit
0eaec4e59a
@ -3841,8 +3841,8 @@ gobject/tests/Makefile
|
|||||||
gthread/Makefile
|
gthread/Makefile
|
||||||
gthread/tests/Makefile
|
gthread/tests/Makefile
|
||||||
gio/Makefile
|
gio/Makefile
|
||||||
gio/gdbus-codegen/Makefile
|
gio/gdbus-2.0/codegen/Makefile
|
||||||
gio/gdbus-codegen/config.py
|
gio/gdbus-2.0/codegen/config.py
|
||||||
gio/xdgmime/Makefile
|
gio/xdgmime/Makefile
|
||||||
gio/inotify/Makefile
|
gio/inotify/Makefile
|
||||||
gio/libasyncns/Makefile
|
gio/libasyncns/Makefile
|
||||||
|
@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl
|
|||||||
|
|
||||||
NULL =
|
NULL =
|
||||||
|
|
||||||
SUBDIRS = gdbus-codegen
|
SUBDIRS = gdbus-2.0/codegen
|
||||||
|
|
||||||
if OS_UNIX
|
if OS_UNIX
|
||||||
SUBDIRS += libasyncns xdgmime
|
SUBDIRS += libasyncns xdgmime
|
||||||
|
@ -4,7 +4,7 @@ bin_SCRIPTS =
|
|||||||
CLEANFILES =
|
CLEANFILES =
|
||||||
EXTRA_DIST =
|
EXTRA_DIST =
|
||||||
|
|
||||||
codegendir = $(libdir)/gdbus-codegen
|
codegendir = $(libdir)/gdbus-2.0/codegen
|
||||||
codegen_PYTHON = \
|
codegen_PYTHON = \
|
||||||
__init__.py \
|
__init__.py \
|
||||||
codegen.py \
|
codegen.py \
|
@ -25,7 +25,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
path = os.path.join('@libdir@', 'gdbus-codegen')
|
path = os.path.join('@libdir@', 'gdbus-2.0', 'codegen')
|
||||||
sys.path.insert(0, path)
|
sys.path.insert(0, path)
|
||||||
|
|
||||||
from codegen_main import codegen_main
|
from codegen_main import codegen_main
|
Loading…
Reference in New Issue
Block a user