| 1 | import sys; sys.path.insert ( 0, '.' ) |
|---|
| 2 | import breve |
|---|
| 3 | |
|---|
| 4 | from setuptools import setup, find_packages |
|---|
| 5 | |
|---|
| 6 | setup ( |
|---|
| 7 | name = 'Breve', |
|---|
| 8 | version = breve.__version__, |
|---|
| 9 | description = '''An s-expression style template engine.''', |
|---|
| 10 | long_description = ''' |
|---|
| 11 | Breve is a Python template engine that is designed to be clean and elegant with |
|---|
| 12 | minimal syntax. Unlike most Python template engines, Breve is implemented as an |
|---|
| 13 | `internal DSL`_ rather than a parser. |
|---|
| 14 | |
|---|
| 15 | Breve was heavily inspired by `Nevow Stan`_ and is, in fact, the successor to |
|---|
| 16 | TurboStan_, my earlier attempt to bring a Stan-like engine to TurboGears. |
|---|
| 17 | |
|---|
| 18 | Breve supports the Buffet_ template engine API which means it works |
|---|
| 19 | automatically with several frameworks, including Pylons_, CherryPy_ and |
|---|
| 20 | TurboGears_. Breve also supports Django_. |
|---|
| 21 | |
|---|
| 22 | .. _Nevow Stan: http://divmod.org/trac/wiki/DivmodNevow |
|---|
| 23 | .. _Buffet: http://projects.dowski.com/projects/buffet |
|---|
| 24 | .. _TurboGears: http://www.turbogears.org |
|---|
| 25 | .. _Pylons: http://www.pylonshq.com |
|---|
| 26 | .. _CherryPy: http://www.cherrypy.org |
|---|
| 27 | .. _TurboStan: http://www.develix.com/software |
|---|
| 28 | .. _Django: http://www.djangoproject.com |
|---|
| 29 | .. _`internal DSL`: http://martinfowler.com/bliki/DomainSpecificLanguage.html |
|---|
| 30 | ''', |
|---|
| 31 | author = 'Cliff Wells', |
|---|
| 32 | author_email = 'cliff@develix.com', |
|---|
| 33 | url = 'http://breve.twisty-industries.com/', |
|---|
| 34 | download_url = 'http://breve.twisty-industries.com/downloads/', |
|---|
| 35 | classifiers = [ |
|---|
| 36 | 'Development Status :: 4 - Beta', |
|---|
| 37 | 'Environment :: Web Environment', |
|---|
| 38 | 'Environment :: Web Environment :: Buffet', |
|---|
| 39 | 'Operating System :: OS Independent', |
|---|
| 40 | 'Programming Language :: Python', |
|---|
| 41 | 'License :: OSI Approved :: MIT License', |
|---|
| 42 | 'Topic :: Software Development :: Libraries :: Python Modules' |
|---|
| 43 | ], |
|---|
| 44 | keywords = [ 'python.templating.engines' ], |
|---|
| 45 | install_requires = [ ], |
|---|
| 46 | scripts = [ 'tools/soup2breve', 'tools/html2breve', 'tools/xsd2breve', 'tools/breve_server/breve_server' ], |
|---|
| 47 | packages = find_packages ( ), |
|---|
| 48 | zip_safe = True, |
|---|
| 49 | entry_points = ''' |
|---|
| 50 | [python.templating.engines] |
|---|
| 51 | breve = breve.plugin.buffet:BreveTemplatePlugin |
|---|
| 52 | ''', |
|---|
| 53 | test_suite = 'breve.tests.testsuite' |
|---|
| 54 | ) |
|---|
| 55 | |
|---|