[Checkins] SVN: z3c.menu/trunk/ Preparing release 0.3.0

Michael Howitz mh at gocept.com
Sat Feb 21 05:02:43 EST 2009


Log message for revision 96881:
  Preparing release 0.3.0

Changed:
  U   z3c.menu/trunk/CHANGES.txt
  U   z3c.menu/trunk/README.txt
  U   z3c.menu/trunk/setup.py
  U   z3c.menu/trunk/src/z3c/menu/__init__.py

-=-
Modified: z3c.menu/trunk/CHANGES.txt
===================================================================
--- z3c.menu/trunk/CHANGES.txt	2009-02-21 09:47:05 UTC (rev 96880)
+++ z3c.menu/trunk/CHANGES.txt	2009-02-21 10:02:42 UTC (rev 96881)
@@ -2,23 +2,16 @@
 CHANGES
 =======
 
-TODO
-----
 
-Deprecate this package, add deprectaion warnings and point to the new 
-z3c.menu.simple package since the z3c.menu is a namespace and offers
-z3c.menu.simple and z3c.menu.ready2go.
+0.3.0 (2009-02-21)
+------------------
 
+- Marked as retired.
 
-Version 0.3.0dev (unreleased)
------------------------------
 
-- ...
+0.2.0 (2007-11-01)
+------------------
 
-
-Version 0.2.0 (2007-11-01)
---------------------------
-
 - Initial release.
 
     * A simple menu implementation based on viewlets.

Modified: z3c.menu/trunk/README.txt
===================================================================
--- z3c.menu/trunk/README.txt	2009-02-21 09:47:05 UTC (rev 96880)
+++ z3c.menu/trunk/README.txt	2009-02-21 10:02:42 UTC (rev 96881)
@@ -1,2 +1,7 @@
 The z3c.menu package provides a simple menu implementation which allows you to
 implement simply menus based on content providers and viewlets.
+
+**RETIRED** Please use one of the following:
+
+    * http://pypi.python.org/pypi/z3c.menu.simple
+    * http://pypi.python.org/pypi/z3c.menu.ready2go
\ No newline at end of file

Modified: z3c.menu/trunk/setup.py
===================================================================
--- z3c.menu/trunk/setup.py	2009-02-21 09:47:05 UTC (rev 96880)
+++ z3c.menu/trunk/setup.py	2009-02-21 10:02:42 UTC (rev 96881)
@@ -21,24 +21,17 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
+version = '0.3.0'
+
 setup(name='z3c.menu',
-      version = '0.3.0dev',
+      version=version,
       author='Zope Corporation and Contributors',
-      author_email='zope3-dev at zope.org',
-      description='Collection of Viewlet-based Menus',
-      long_description=(
-          read('README.txt')
-          + '\n\n' +
-          'Detailed Dcoumentation\n' +
-          '======================\n'
-          + '\n\n' +
-          read('src', 'z3c', 'menu', 'simple', 'README.txt')
-          + '\n\n' +
-          read('CHANGES.txt')
-          ),
+      author_email='zope-dev at zope.org',
+      description='DEPRECATED: Collection of Viewlet-based Menus',
+      long_description=read('README.txt'),
       keywords = "zope3 menu viewlet simple",
       classifiers = [
-          'Development Status :: 5 - Production/Stable',
+          'Development Status :: 7 - Inactive',
           'Environment :: Web Environment',
           'Intended Audience :: Developers',
           'License :: OSI Approved :: Zope Public License',
@@ -47,7 +40,7 @@
           'Operating System :: OS Independent',
           'Topic :: Internet :: WWW/HTTP',
           'Framework :: Zope3'],
-      url='http://cheeseshop.python.org/pypi/z3c.menu',
+      url='http://pypi.python.org/pypi/z3c.menu',
       license='ZPL 2.1',
       packages=find_packages('src'),
       package_dir = {'': 'src'},

Modified: z3c.menu/trunk/src/z3c/menu/__init__.py
===================================================================
--- z3c.menu/trunk/src/z3c/menu/__init__.py	2009-02-21 09:47:05 UTC (rev 96880)
+++ z3c.menu/trunk/src/z3c/menu/__init__.py	2009-02-21 10:02:42 UTC (rev 96881)
@@ -14,3 +14,9 @@
 """
 $Id$
 """
+import warnings
+
+warnings.warn(
+    'Package z3c.menu is retired, please use z3c.menu.simple package.',
+    DeprecationWarning,
+    stacklevel=2)



More information about the Checkins mailing list