[Checkins] SVN: zope.app.i18n/trunk/ Prepare for 3.4.0 release

Roger Ineichen roger at projekt01.ch
Tue Sep 25 12:27:41 EDT 2007


Log message for revision 80025:
  Prepare for 3.4.0 release

Changed:
  A   zope.app.i18n/trunk/CHANGES.txt
  A   zope.app.i18n/trunk/README.txt
  D   zope.app.i18n/trunk/setup.cfg
  U   zope.app.i18n/trunk/setup.py
  _U  zope.app.i18n/trunk/src/
  U   zope.app.i18n/trunk/src/zope/app/i18n/__init__.py

-=-
Added: zope.app.i18n/trunk/CHANGES.txt
===================================================================
--- zope.app.i18n/trunk/CHANGES.txt	                        (rev 0)
+++ zope.app.i18n/trunk/CHANGES.txt	2007-09-25 16:27:41 UTC (rev 80025)
@@ -0,0 +1,11 @@
+=======
+CHANGES
+=======
+
+
+Version 3.4.0 (2007/9/25)
+-------------------------
+
+- Initial documented release
+
+- Move ZopeMessageFactory to zope.i18nmessageid


Property changes on: zope.app.i18n/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: zope.app.i18n/trunk/README.txt
===================================================================
--- zope.app.i18n/trunk/README.txt	                        (rev 0)
+++ zope.app.i18n/trunk/README.txt	2007-09-25 16:27:41 UTC (rev 80025)
@@ -0,0 +1 @@
+Placeful internationalization of content objects.


Property changes on: zope.app.i18n/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Deleted: zope.app.i18n/trunk/setup.cfg
===================================================================
--- zope.app.i18n/trunk/setup.cfg	2007-09-25 16:27:18 UTC (rev 80024)
+++ zope.app.i18n/trunk/setup.cfg	2007-09-25 16:27:41 UTC (rev 80025)
@@ -1,2 +0,0 @@
-[egg_info]
-tag_svn_revision = 1
\ No newline at end of file

Modified: zope.app.i18n/trunk/setup.py
===================================================================
--- zope.app.i18n/trunk/setup.py	2007-09-25 16:27:18 UTC (rev 80024)
+++ zope.app.i18n/trunk/setup.py	2007-09-25 16:27:41 UTC (rev 80025)
@@ -18,31 +18,50 @@
 
 import os
 
-from setuptools import setup, find_packages, Extension
+from setuptools import setup, find_packages
 
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
 setup(name='zope.app.i18n',
-      version = '3.4.0b1',
-      url='http://svn.zope.org/zope.app.i18n',
-      license='ZPL 2.1',
-      description='Zope i18n',
-      author='Zope Corporation and Contributors',
-      author_email='zope3-dev at zope.org',
-      packages=find_packages('src'),
-      package_dir = {'': 'src'},
-      namespace_packages=['zope', 'zope.app'],
-      extras_require = dict(test=['zope.app.testing']),
-      install_requires=['setuptools',
-                        'zope.app.component',
-                        'zope.app.container',
-                        'zope.app.publisher',
-                        'zope.component',
-                        'zope.configuration',
-                        'zope.i18n',
-                        'zope.i18nmessageid',
-                        'zope.interface',
-                        'zope.security',
-                        'ZODB3',
-                        ],
-      include_package_data = True,
-      zip_safe = False,
-      )
+    version = '3.4.0',
+    author='Zope Corporation and Contributors',
+    author_email='zope3-dev at zope.org',
+    description='Zope i18n',
+    long_description=(
+        read('README.txt')
+        + '\n\n' +
+        read('CHANGES.txt')
+        ),
+    keywords = "zope3 i18n message factory",
+    classifiers = [
+        'Development Status :: 5 - Production/Stable',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Topic :: Internet :: WWW/HTTP',
+        'Framework :: Zope3'],
+    url='http://svn.zope.org/zope.app.i18n',
+    license='ZPL 2.1',
+    packages=find_packages('src'),
+    package_dir = {'': 'src'},
+    namespace_packages=['zope', 'zope.app'],
+    extras_require = dict(test=['zope.app.testing']),
+    install_requires=['setuptools',
+                      'zope.app.component',
+                      'zope.app.container',
+                      'zope.app.publisher',
+                      'zope.component',
+                      'zope.configuration',
+                      'zope.i18n',
+                      'zope.i18nmessageid',
+                      'zope.interface',
+                      'zope.security',
+                      'ZODB3',
+                      ],
+    include_package_data = True,
+    zip_safe = False,
+    )


Property changes on: zope.app.i18n/trunk/src
___________________________________________________________________
Name: svn:ignore
   + zope.app.i18n.egg-info


Modified: zope.app.i18n/trunk/src/zope/app/i18n/__init__.py
===================================================================
--- zope.app.i18n/trunk/src/zope/app/i18n/__init__.py	2007-09-25 16:27:18 UTC (rev 80024)
+++ zope.app.i18n/trunk/src/zope/app/i18n/__init__.py	2007-09-25 16:27:41 UTC (rev 80025)
@@ -17,6 +17,11 @@
 """
 __docformat__ = 'restructuredtext'
 
-# import this as _ to create i18n messages in the zope domain
-from zope.i18nmessageid import MessageFactory
-ZopeMessageFactory = MessageFactory('zope')
+import zope.deferredimport
+
+
+zope.deferredimport.deprecated(
+    "It has moved to zope.i18nmessageid  This reference will be gone "
+    "in Zope 3.6",
+    ZopeMessageFactory = 'zope.i18nmessageid:ZopeMessageFactory',
+    )



More information about the Checkins mailing list