update Makefiles and po, add not committed __init__ to import docgen module

svn: r12592
This commit is contained in:
Benny Malengier
2009-05-29 22:41:26 +00:00
parent 8dd7adc607
commit 7f6ca2aa45
7 changed files with 89 additions and 4 deletions

View File

@@ -36,7 +36,6 @@ gdir_PYTHON = \
ArgHandler.py\
Assistant.py\
AutoComp.py\
BaseDoc.py\
Bookmarks.py\
ColumnOrder.py\
const.py\

View File

@@ -4,13 +4,15 @@
# If not using GNU make, then list all .py files individually
SUBDIRS = \
docbackend\
docgen\
menu
pkgdatadir = $(datadir)/@PACKAGE@/gen/plug
pkgdata_PYTHON = \
__init__.py \
_docgen.py \
_docgenplugin.py \
_export.py \
_import.py \
_manager.py \

View File

@@ -0,0 +1,25 @@
# This is the src/gen/plug/menu 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@/gen/plug/docbackend
pkgdata_PYTHON = \
__init__.py \
cairobackend.py \
docbackend.py \
latexbackend.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug/docbackend
pkgpythondir = @pkgpythondir@/gen/plug/docbackend
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));

View File

@@ -0,0 +1,23 @@
# This is the src/gen/plug/menu 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@/gen/plug/docgen
pkgdata_PYTHON = \
__init__.py \
basedoc.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug/docgen
pkgpythondir = @pkgpythondir@/gen/plug/docgen
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));

View File

@@ -0,0 +1,30 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2009 B. Malengier
#
# 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
#
# $Id: __init__.py 10055 2008-02-18 20:07:09Z acraphae $
"""
The docgen package providing the API the document generating plugins can use.
A docgen plugin should fully implement this api for TextDoc or DrawDoc
"""
from basedoc import BaseDoc, PaperSize, PaperStyle, FontStyle, ParagraphStyle,\
TableStyle, TableCellStyle, StyleSheetList, StyleSheet,\
SheetParser, GraphicsStyle, TextDoc, IndexMark, DrawDoc, GVDoc