Plugins restructure: move gramplets to plugins/gramplet/

svn: r11636
This commit is contained in:
Doug Blank 2009-01-16 23:03:35 +00:00
parent a12989719b
commit 5e74a57142
9 changed files with 35 additions and 9 deletions

View File

@ -237,13 +237,10 @@ src/Selectors/__init__.py
# plugins directory
src/plugins/AgeStats.py
src/plugins/AncestorReport.py
src/plugins/AttributesGramplet.py
src/plugins/BookReport.py
src/plugins/Calendar.py
src/plugins/CustomBookText.py
src/plugins/DefaultGramplets.py
src/plugins/DescendReport.py
src/plugins/DescendGramplet.py
src/plugins/DetAncestralReport.py
src/plugins/DetDescendantReport.py
src/plugins/EndOfLineReport.py
@ -257,7 +254,6 @@ src/plugins/ExportVCalendar.py
src/plugins/ExportVCard.py
src/plugins/ExportXml.py
src/plugins/FamilyGroup.py
src/plugins/GivenNameGramplet.py
src/plugins/GVFamilyLines.py
src/plugins/GVHourGlass.py
src/plugins/GVRelGraph.py
@ -279,7 +275,6 @@ src/plugins/Records.py
src/plugins/SimpleBookTitle.py
src/plugins/Summary.py
src/plugins/WebCal.py
src/plugins/WhatsNext.py
# plugins/drawreport directory
src/plugins/drawreport/AncestorTree.py
@ -288,6 +283,14 @@ src/plugins/drawreport/FanChart.py
src/plugins/drawreport/StatisticsChart.py
src/plugins/drawreport/TimeLine.py
# plugins/gramplet directory
src/plugins/gramplet/AttributesGramplet.py
src/plugins/gramplet/DefaultGramplets.py
src/plugins/gramplet/DescendGramplet.py
src/plugins/gramplet/GivenNameGramplet.py
src/plugins/gramplet/NoteGramplet.py
src/plugins/gramplet/WhatsNext.py
# plugins/quickview directory
src/plugins/quickview/AgeOnDate.py
src/plugins/quickview/all_events.py

View File

@ -5,6 +5,7 @@
SUBDIRS = \
drawreport \
gramplet \
quickview \
rel \
tool
@ -15,14 +16,11 @@ pkgdata_PYTHON = \
AgeStats.py\
AncestorTree.py\
AncestorReport.py\
AttributesGramplet.py\
BookReport.py\
Calendar.py \
CustomBookText.py\
DefaultGramplets.py\
DescendTree.py\
DescendReport.py\
DescendGramplet.py\
DetAncestralReport.py\
DetDescendantReport.py\
EndOfLineReport.py\
@ -37,7 +35,6 @@ pkgdata_PYTHON = \
ExportXml.py\
FamilyGroup.py\
FanChart.py\
GivenNameGramplet.py\
GVFamilyLines.py \
GVHourGlass.py\
GVRelGraph.py\

View File

@ -0,0 +1,26 @@
# This is the src/plugins/drawreport 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@/plugins/gramplet
pkgdata_PYTHON = \
AttributesGramplet.py \
DefaultGramplets.py \
DescendGramplet.py \
GivenNameGramplet.py \
NoteGramplet.py \
WhatsNext.py
pkgpyexecdir = @pkgpyexecdir@/plugins/gramplet
pkgpythondir = @pkgpythondir@/plugins/gramplet
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
GRAMPS_PY_MODPATH = "../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));