diff options
| author | Simon van der Linden <svdlinden@src.gnome.org> | 2009-11-08 12:35:08 +0100 |
|---|---|---|
| committer | Simon van der Linden <svdlinden@src.gnome.org> | 2009-11-08 13:02:56 +0100 |
| commit | b24fd9633cabe1d95cde173a04e9a49833b06a26 (patch) | |
| tree | d78195fc9dc55c4b59aecd7a7d992aaf10ead558 /gi/repository | |
| download | pygi-b24fd9633cabe1d95cde173a04e9a49833b06a26.tar.gz pygi-b24fd9633cabe1d95cde173a04e9a49833b06a26.tar.xz pygi-b24fd9633cabe1d95cde173a04e9a49833b06a26.zip | |
Initial import
Diffstat (limited to 'gi/repository')
| -rw-r--r-- | gi/repository/Makefile.am | 8 | ||||
| -rw-r--r-- | gi/repository/__init__.py | 30 |
2 files changed, 38 insertions, 0 deletions
diff --git a/gi/repository/Makefile.am b/gi/repository/Makefile.am new file mode 100644 index 0000000..c9138ce --- /dev/null +++ b/gi/repository/Makefile.am @@ -0,0 +1,8 @@ +PLATFORM_VERSION = 2.0 + +pkgpyexecdir = $(pyexecdir)/gtk-2.0/gi + +pygirepositorydir = $(pkgpyexecdir)/repository +pygirepository_PYTHON = \ + __init__.py + diff --git a/gi/repository/__init__.py b/gi/repository/__init__.py new file mode 100644 index 0000000..5c5552a --- /dev/null +++ b/gi/repository/__init__.py @@ -0,0 +1,30 @@ +# -*- Mode: Python; py-indent-offset: 4 -*- +# vim: tabstop=4 shiftwidth=4 expandtab +# +# Copyright (C) 2009 Johan Dahlin <johan@gnome.org> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 +# USA + +from __future__ import absolute_import + +import sys + +from ..importer import DynamicImporter + +sys.meta_path.append(DynamicImporter('gi.repository')) + +del DynamicImporter +del sys |
