r2157 - in (7 files)
jinty-guest at users.alioth.debian.org
jinty-guest at users.alioth.debian.org
Sun Apr 10 16:55:16 UTC 2011
Date: Sunday, April 10, 2011 @ 16:54:58
Author: jinty-guest
Revision: 2157
[svn-inject] Installing original source of zope.fixers (1.0)
Added:
zope.fixers/
zope.fixers/branches/
zope.fixers/branches/upstream/
zope.fixers/branches/upstream/current/
zope.fixers/branches/upstream/current/zope.fixers.egg-info/
zope.fixers/branches/upstream/current/zope.fixers.egg-info/PKG-INFO
zope.fixers/branches/upstream/current/zope.fixers.egg-info/SOURCES.txt
Added: zope.fixers/branches/upstream/current/zope.fixers.egg-info/PKG-INFO
===================================================================
--- zope.fixers/branches/upstream/current/zope.fixers.egg-info/PKG-INFO (rev 0)
+++ zope.fixers/branches/upstream/current/zope.fixers.egg-info/PKG-INFO 2011-04-10 16:54:58 UTC (rev 2157)
@@ -0,0 +1,54 @@
+Metadata-Version: 1.0
+Name: zope.fixers
+Version: 1.0
+Summary: 2to3 fixers for Zope
+Home-page: http://svn.zope.org/zope.fixers/
+Author: Lennart Regebro
+Author-email: regebro at gmail.com
+License: ZPL
+Description: Introduction
+ ============
+
+ Fixers for Zope Component Architecture and the frameworks built with it.
+
+ Currently, there is only one fixer, fix_implements. This fixer will change
+ all uses of implements(IFoo) in a class body to the class decorator
+ @implementer(IFoo), which is the most likely Python 3 syntax for
+ zope.interfaces implements statements.
+
+ zope.fixers requires Python 3.1.
+
+
+ Usage
+ -----
+
+ To use this you typically want all teh fixers from lib2to3, and add the
+ fixers from zope.fixers to it. Like so:
+
+ >>> from lib2to3.refactor import RefactoringTool, get_fixers_from_package
+ >>> fixers = get_fixers_from_package('lib2to3.fixes') + \
+ ... get_fixers_from_package('zope.fixers')
+
+ And the run the fixing with the fixers:
+
+ >>> tool = RefactoringTool(fixers)
+ >>> tool.refactor(files, write=True)
+
+ For an example usage within setuptools, look at:
+
+ http://svn.zope.org/zope.interface/branches/regebro-python3/build_ext_3.py?rev=98993&view=markup
+
+
+ Changelog
+ =========
+
+ 1.0 - Unreleased
+ ----------------
+
+ * Initial release
+
+
+Keywords: 2to3 python3 zope
+Platform: UNKNOWN
+Classifier: Programming Language :: Python
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
Added: zope.fixers/branches/upstream/current/zope.fixers.egg-info/SOURCES.txt
===================================================================
--- zope.fixers/branches/upstream/current/zope.fixers.egg-info/SOURCES.txt (rev 0)
+++ zope.fixers/branches/upstream/current/zope.fixers.egg-info/SOURCES.txt 2011-04-10 16:54:58 UTC (rev 2157)
@@ -0,0 +1,20 @@
+CHANGES.txt
+README.txt
+ZPL.txt
+setup.py
+docs/HISTORY.txt
+zope/__init__.py
+zope.fixers.egg-info/PKG-INFO
+zope.fixers.egg-info/SOURCES.txt
+zope.fixers.egg-info/dependency_links.txt
+zope.fixers.egg-info/entry_points.txt
+zope.fixers.egg-info/namespace_packages.txt
+zope.fixers.egg-info/not-zip-safe
+zope.fixers.egg-info/requires.txt
+zope.fixers.egg-info/top_level.txt
+zope/fixers/__init__.py
+zope/fixers/base.py
+zope/fixers/fix_class_provides.py
+zope/fixers/fix_implements.py
+zope/fixers/fix_implements_only.py
+zope/fixers/tests.py
\ No newline at end of file
Property changes on: zope.fixers/branches/upstream/current/zope.fixers.egg-info/SOURCES.txt
___________________________________________________________________
Added: svn:eol-style
+ native
More information about the pkg-zope-developers
mailing list