summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcoderanger <coderanger@7322e99d-02ea-0310-aa39-e9a107903beb>2006-01-11 17:37:57 +0000
committercoderanger <coderanger@7322e99d-02ea-0310-aa39-e9a107903beb>2006-01-11 17:37:57 +0000
commite431d2d4e4df7d84be42983522fb330f407c7427 (patch)
treeee1103e5d133ff0ab46e995040fcfc9cc7d0a363
parent14239715b6284f1f91df697fcc35162971acfc33 (diff)
downloadwikinfo-e431d2d4e4df7d84be42983522fb330f407c7427.tar.gz
wikinfo-e431d2d4e4df7d84be42983522fb330f407c7427.tar.xz
wikinfo-e431d2d4e4df7d84be42983522fb330f407c7427.zip
WikinfoPlugin:
Repackaging Wikinfo to use setuptools.
-rw-r--r--Wikinfo.egg-info/trac_plugin.txt1
-rw-r--r--wikinfo/__init__.py2
-rw-r--r--wikinfo/wikinfo.py (renamed from nlwikinfo.py)6
3 files changed, 6 insertions, 3 deletions
diff --git a/Wikinfo.egg-info/trac_plugin.txt b/Wikinfo.egg-info/trac_plugin.txt
new file mode 100644
index 0000000..034499a
--- /dev/null
+++ b/Wikinfo.egg-info/trac_plugin.txt
@@ -0,0 +1 @@
+wikinfo
diff --git a/wikinfo/__init__.py b/wikinfo/__init__.py
new file mode 100644
index 0000000..ad24a8f
--- /dev/null
+++ b/wikinfo/__init__.py
@@ -0,0 +1,2 @@
+# Wikinfo plugin v2.0
+from wikinfo import *
diff --git a/nlwikinfo.py b/wikinfo/wikinfo.py
index 167f24c..d1efb41 100644
--- a/nlwikinfo.py
+++ b/wikinfo/wikinfo.py
@@ -34,7 +34,7 @@ except ImportError:
from trac.core import *
from trac.wiki.api import IWikiMacroProvider, WikiSystem
-class NLWikinfoMacro(Component):
+class WikinfoMacro(Component):
"""
Output different information by keyword.
@@ -50,10 +50,10 @@ class NLWikinfoMacro(Component):
# IWikiMacroProvider methods
def get_macros(self):
- yield 'NlWikinfo'
+ yield 'Wikinfo'
def get_macro_description(self, name):
- return inspect.getdoc(NLWikinfoMacro)
+ return inspect.getdoc(WikinfoMacro)
def render_macro(self, req, name, content):
if content: