Blame gio/gdbus-2.0/codegen/__init__.py

Packit 84794d
# -*- Mode: Python -*-
Packit 84794d
Packit 84794d
# GDBus - GLib D-Bus Library
Packit 84794d
#
Packit 84794d
# Copyright (C) 2008-2011 Red Hat, Inc.
Packit 84794d
#
Packit 84794d
# This library is free software; you can redistribute it and/or
Packit 84794d
# modify it under the terms of the GNU Lesser General Public
Packit 84794d
# License as published by the Free Software Foundation; either
Packit 84794d
# version 2.1 of the License, or (at your option) any later version.
Packit 84794d
#
Packit 84794d
# This library is distributed in the hope that it will be useful,
Packit 84794d
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 84794d
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 84794d
# Lesser General Public License for more details.
Packit 84794d
#
Packit 84794d
# You should have received a copy of the GNU Lesser General
Packit 84794d
# Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit 84794d
#
Packit 84794d
# Author: David Zeuthen <davidz@redhat.com>
Packit 84794d
Packit 84794d
import os
Packit 84794d
Packit 84794d
builddir = os.environ.get('UNINSTALLED_GLIB_BUILDDIR')
Packit 84794d
Packit 84794d
if builddir is not None:
Packit 84794d
    __path__.append(os.path.abspath(os.path.join(builddir, 'gio', 'gdbus-2.0', 'codegen')))