{ "info": { "author": "Lennart Regebro", "author_email": "regebro@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nFixers for Zope Component Architecture and the frameworks built with it.\n\nCurrently, there is only one fixer, fix_implements. This fixer will change\nall uses of implements(IFoo) in a class body to the class decorator\n@implementer(IFoo), which is the most likely Python 3 syntax for\nzope.interfaces implements statements.\n\n\nUsage\n-----\n\nTypically you will use zope.fixers together with Distribute's 2to3 support.\nThis is done by adding zope.fixers to some parameters in setup():\n\n >>> setup(\n ... install_requires = ['zope.fixers'],\n ... use_2to3 = True,\n ... use_2to3_fixers = ['zope.fixers'],\n ... )\n\nFor an example usage of a complex case, look at:\n\n http://svn.zope.org/zope.interface/branches/regebro-python3/setup.py?rev=106216&view=markup\n\nThat setup.py supports both distutils, setuptools and distribute, all versions\nof python from 2.4 to 3.1, and has an optional C-extension, so don't worry if\nit's overwhelming. For simple projects all you need is to use Distribute and\nadd the above three lines to the setup.py. Distribute has more documentation\non how to use it to support Python 3 porting.\n\n\nIf you don't want to use Distribute things get a bit more complex, as you have\nto make the list of fixers yourself and call lib2to3 with that:\n\n >>> from lib2to3.refactor import RefactoringTool, get_fixers_from_package\n >>> fixers = get_fixers_from_package('lib2to3.fixes') + \\\n ... get_fixers_from_package('zope.fixers')\n\nAnd the run the fixing with the fixers:\n\n >>> tool = RefactoringTool(fixers)\n >>> tool.refactor(files, write=True)\n\n\nFixer Script\n------------\n\nThe package also provides a console script called `zope-2to3` that has the\nsame arguments as `2to3` but applies the fixers defined in this package.\n\nCHANGES\n=======\n\n1.1.2 (2013-02-23)\n------------------\n\n- Removed setup.cfg and make sure that we point to real Change Log.\n\n1.1.1 (2013-02-23)\n------------------\n\n- Remove support for Python 2.7 again. It did not work.\n\n1.1.0 (2013-02-22)\n------------------\n\n- Added console script ``zope-2to3``.\n\n1.0.0 (2009-09-12)\n------------------\n\n- Initial release. Includes the implements fix to change implements(IFoo)\n class body call to ``@implementer(IFoo)`` class decorator.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://svn.zope.org/zope.fixers/", "keywords": "2to3 python3 zope", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "zope.fixers", "package_url": "https://pypi.org/project/zope.fixers/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zope.fixers/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.zope.org/zope.fixers/" }, "release_url": "https://pypi.org/project/zope.fixers/1.1.2/", "requires_dist": null, "requires_python": null, "summary": "2to3 fixers for Zope", "version": "1.1.2" }, "last_serial": 802376, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "6f8c87752660ba503e0705166cc9c7a8", "sha256": "1483d52aee35b5050ca7b8b19ff3977aebad6aab494783def3b495219ec34d06" }, "downloads": -1, "filename": "zope.fixers-1.0.tar.gz", "has_sig": false, "md5_digest": "6f8c87752660ba503e0705166cc9c7a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7287, "upload_time": "2009-09-12T13:03:06", "url": "https://files.pythonhosted.org/packages/14/34/56219de19d59f8c69109045690b3ecae3b24d904024472127461e04f835d/zope.fixers-1.0.tar.gz" } ], "1.1.1dev": [ { "comment_text": "", "digests": { "md5": "8687e3ce1ba475786ca341ec067fd553", "sha256": "18278df6c2d32ad419609c9df8e180803e9750ba89f18eb6352c39955cf554f5" }, "downloads": -1, "filename": "zope.fixers-1.1.1dev.zip", "has_sig": false, "md5_digest": "8687e3ce1ba475786ca341ec067fd553", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18376, "upload_time": "2013-02-23T18:00:47", "url": "https://files.pythonhosted.org/packages/50/a0/6ad5f0d23058f27c239055f61420f3a90e8b63f3a04154104a7f736767a1/zope.fixers-1.1.1dev.zip" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "4bcdc78798c772e6d1dd03ff3870d4a9", "sha256": "83300f0911ae3b6dff55f9d953d64de0b685cd1dd495cfb410d10fa861646005" }, "downloads": -1, "filename": "zope.fixers-1.1.2.zip", "has_sig": false, "md5_digest": "4bcdc78798c772e6d1dd03ff3870d4a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18309, "upload_time": "2013-02-23T18:04:12", "url": "https://files.pythonhosted.org/packages/a5/a8/1f660c8ed6a0a78618bedba862b04859227015e696fd187839c2d2e7f692/zope.fixers-1.1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bcdc78798c772e6d1dd03ff3870d4a9", "sha256": "83300f0911ae3b6dff55f9d953d64de0b685cd1dd495cfb410d10fa861646005" }, "downloads": -1, "filename": "zope.fixers-1.1.2.zip", "has_sig": false, "md5_digest": "4bcdc78798c772e6d1dd03ff3870d4a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18309, "upload_time": "2013-02-23T18:04:12", "url": "https://files.pythonhosted.org/packages/a5/a8/1f660c8ed6a0a78618bedba862b04859227015e696fd187839c2d2e7f692/zope.fixers-1.1.2.zip" } ] }