GEPS008: Move src/docgen to src/gen/utils
svn: r19920
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
SUBDIRS = \
|
||||
cli \
|
||||
data \
|
||||
docgen \
|
||||
gen \
|
||||
gui \
|
||||
images \
|
||||
|
@ -4,6 +4,8 @@
|
||||
# but that is not necessarily portable.
|
||||
# If not using GNU make, then list all .py files individually
|
||||
|
||||
SUBDIRS = docgen
|
||||
|
||||
pkgpythondir = $(datadir)/@PACKAGE@/gen/utils
|
||||
|
||||
pkgpython_PYTHON = \
|
||||
|
@ -32,7 +32,7 @@ import csv
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from docgen import TabbedDoc
|
||||
from TabbedDoc import *
|
||||
|
||||
class CSVTab(TabbedDoc):
|
||||
|
@ -3,19 +3,21 @@
|
||||
# Use GNU make's ':=' syntax for nice wildcard use.
|
||||
# If not using GNU make, then list all .py files individually
|
||||
|
||||
docgendir=$(prefix)/share/gramps/docgen
|
||||
pkgpythondir = $(datadir)/@PACKAGE@/gen/utils/docgen
|
||||
|
||||
docgen_PYTHON = \
|
||||
pkgpython_PYTHON = \
|
||||
__init__.py \
|
||||
CSVTab.py \
|
||||
ODSTab.py \
|
||||
TabbedDoc.py
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/gen/utils/docgen
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
||||
GRAMPS_PY_MODPATH = "../"
|
||||
GRAMPS_PY_MODPATH = "../../../"
|
||||
|
||||
pycheck:
|
||||
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
||||
pychecker $(docgen_PYTHON));
|
||||
pychecker $(pkgpython_PYTHON));
|
@ -960,7 +960,7 @@ class ListView(NavigationView):
|
||||
|
||||
The output file type is determined by the type variable.
|
||||
"""
|
||||
from docgen import CSVTab, ODSTab
|
||||
from gen.utils.docgen import CSVTab, ODSTab
|
||||
ofile = None
|
||||
data_cols = [pair[1] for pair in self.column_order() if pair[0]]
|
||||
|
||||
|
@ -49,7 +49,7 @@ from gui.filters import build_filter_model
|
||||
from gen.sort import Sort
|
||||
from gen.utils.file import get_unicode_path_from_file_chooser
|
||||
from gui.utils import ProgressMeter
|
||||
from docgen import ODSTab
|
||||
from gen.utils.docgen import ODSTab
|
||||
import const
|
||||
from gen.errors import WindowActiveError
|
||||
import gen.datehandler
|
||||
|
Reference in New Issue
Block a user