Mercurial > genshi > mirror
view setup.py @ 190:769d945ac030 trunk
Improvements for the `py:with` directive:
* One assignment in the same directive can now refer to an earlier assignment.
* Semicolons used in string literals inside the expression are no longer treated as statement separators, and they don't need to be escaped then either.
* Trailing semicolons are now ignored
Many thanks to Oliver Cope for reporting these problems, and providing unit tests and a patch!
author | cmlenz |
---|---|
date | Wed, 23 Aug 2006 14:33:37 +0000 |
parents | 0be9ba422a33 |
children | 94120e6b0ce4 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2006 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://markup.edgewall.org/wiki/License. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://markup.edgewall.org/log/. try: from setuptools import setup except ImportError: from distutils.core import setup setup( name = 'Markup', version = '0.3', description = 'Toolkit for stream-based generation of markup for the web', long_description = \ '''Markup is a Python library that provides an integrated set of components for parsing, generating, and processing HTML or XML content in a uniform manner. The major feature is a template language that is heavily inspired by Kid.''', author = 'Edgewall Software', author_email = 'info@edgewall.org', license = 'BSD', url = 'http://markup.edgewall.org/', download_url = 'http://markup.edgewall.org/wiki/MarkupDownload', zip_safe = True, classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing :: Markup :: HTML', 'Topic :: Text Processing :: Markup :: XML' ], packages=['markup'], test_suite = 'markup.tests.suite', extras_require = {'plugin': ['setuptools>=0.6a2']}, entry_points = """ [python.templating.engines] markup = markup.plugin:TemplateEnginePlugin[plugin] """, )