[Checkins] SVN: Sandbox/philikon/megrok.menu/trunk/ Prepare release
Philipp von Weitershausen
philikon at philikon.de
Sat Jul 12 11:45:32 EDT 2008
Log message for revision 88293:
Prepare release
Changed:
A Sandbox/philikon/megrok.menu/trunk/CHANGES.txt
A Sandbox/philikon/megrok.menu/trunk/README.txt
U Sandbox/philikon/megrok.menu/trunk/setup.py
-=-
Added: Sandbox/philikon/megrok.menu/trunk/CHANGES.txt
===================================================================
--- Sandbox/philikon/megrok.menu/trunk/CHANGES.txt (rev 0)
+++ Sandbox/philikon/megrok.menu/trunk/CHANGES.txt 2008-07-12 15:45:32 UTC (rev 88293)
@@ -0,0 +1,7 @@
+Changelog
+=========
+
+0.1 (2008-07-12)
+----------------
+
+Initial release.
Property changes on: Sandbox/philikon/megrok.menu/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: Sandbox/philikon/megrok.menu/trunk/README.txt
===================================================================
--- Sandbox/philikon/megrok.menu/trunk/README.txt (rev 0)
+++ Sandbox/philikon/megrok.menu/trunk/README.txt 2008-07-12 15:45:32 UTC (rev 88293)
@@ -0,0 +1,27 @@
+This package allows you to register browser menus and menu items for
+browser views in Grok.
+
+A menu is easily registered by creating a subclass of ``megrok.menu.Menu``::
+
+ import megrok.menu.Menu
+
+ class Tabs(megrok.menu.Menu):
+ grok.name('tabs')
+ grok.title('Tabs')
+ grok.description('')
+
+A view can then placed on a menu with the ``menuitem`` directive::
+
+ class Edit(grok.View):
+ grok.title('Edit')
+ grok.description("Change this object's data.")
+ megrok.menu.menuitem('tabs')
+
+ ...
+
+The ``title`` and ``description`` directives used here specifie the
+menu item's label and description. The ``menuitem`` directive takes
+at least one argument, the menu that the item is registered to be for.
+This can either be an identifier string or the menu class
+itself. Other optional parameters include ``icon``, ``filter`` and
+``order``.
Property changes on: Sandbox/philikon/megrok.menu/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: Sandbox/philikon/megrok.menu/trunk/setup.py
===================================================================
--- Sandbox/philikon/megrok.menu/trunk/setup.py 2008-07-12 15:37:51 UTC (rev 88292)
+++ Sandbox/philikon/megrok.menu/trunk/setup.py 2008-07-12 15:45:32 UTC (rev 88293)
@@ -1,13 +1,19 @@
from setuptools import setup, find_packages
+long_description = (open("README.txt").read()
+ + '\n\n' +
+ open("CHANGES.txt").read())
+
setup(name='megrok.menu',
version='0.1',
description="Grok extension to configure browser menus",
+ long_description=long_description,
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
- classifiers=[
- "Programming Language :: Python",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
+ classifiers=['Programming Language :: Python',
+ 'Environment :: Web Environment',
+ 'Framework :: Zope3',
+ 'License :: OSI Approved :: Zope Public License',
+ ],
keywords='',
author='Philipp von Weitershausen',
author_email='philipp at weitershausen.de',
More information about the Checkins
mailing list