From 664994757e047b6c6b9b63758007ea6073022c24 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Sat, 4 Mar 2006 14:29:39 +0000 Subject: [PATCH] * src/Models/Makefile.am: Added file * Editors/__init__.py: Added file svn: r6070 --- gramps2/ChangeLog | 4 ++++ gramps2/src/Editors/__init__.py | 36 +++++++++++++++++++++++++++++++++ gramps2/src/Models/Makefile.am | 25 +++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 gramps2/src/Editors/__init__.py create mode 100644 gramps2/src/Models/Makefile.am diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 683643e99..cdeef461f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-03-04 Martin Hawlisch + * src/Models/Makefile.am: Added file + * Editors/__init__.py: Added file + 2006-03-03 Don Allingham * src/images/Makefile.am: update path * src/EditPerson.py: handle module rename diff --git a/gramps2/src/Editors/__init__.py b/gramps2/src/Editors/__init__.py new file mode 100644 index 000000000..5b27e1994 --- /dev/null +++ b/gramps2/src/Editors/__init__.py @@ -0,0 +1,36 @@ +# +# Gramps - a GTK+/GNOME based genealogy program +# +# Copyright (C) 2000-2006 Donald N. Allingham +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +from _EditAddress import * +from _EditAttribute import * +from _EditEvent import * +from _EditEventRef import * +from _EditFamily import * +from _EditLocation import * +from _EditMedia import * +from _EditMediaRef import * +from _EditName import * +from _EditPerson import * +from _EditPlace import * +from _EditRepository import * +from _EditSource import * +from _EditSourceRef import * +from _EditUrl import * + diff --git a/gramps2/src/Models/Makefile.am b/gramps2/src/Models/Makefile.am new file mode 100644 index 000000000..ecce8630a --- /dev/null +++ b/gramps2/src/Models/Makefile.am @@ -0,0 +1,25 @@ +# This is the src/Mime level Makefile for Gramps +# We could use GNU make's ':=' syntax for nice wildcard use, +# but that is not necessarily portable. +# If not using GNU make, then list all .py files individually + +pkgdatadir = $(datadir)/@PACKAGE@/Models + +pkgdata_PYTHON = \ + __init__.py\ + _FastFilterModel.py\ + _FastModel.py\ + _ListCursor.py\ + _PathCursor.py\ + _PersonFilterModel.py\ + _PersonListModel.py\ + _PersonTreeModel.py + +pkgpyexecdir = @pkgpyexecdir@/Models +pkgpythondir = @pkgpythondir@/Models + +GRAMPS_PY_MODPATH = "../" + +pycheck: + (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ + pychecker $(pkgdata_PYTHON));