Mercurial > genshi > genshi-test
annotate setup.py @ 283:5cbeeb72c5d4
Fix regression introduced in [333:334]: includes no longer used the search path, because the loader was always seeing an absolute path.
author | cmlenz |
---|---|
date | Thu, 12 Oct 2006 12:23:38 +0000 |
parents | 0f2bc982a2b9 |
children | 5f2c7782cd8a |
rev | line source |
---|---|
1 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
3 # | |
66
822089ae65ce
Switch copyright to Edgewall and URLs to markup.edgewall.org.
cmlenz
parents:
27
diff
changeset
|
4 # Copyright (C) 2006 Edgewall Software |
1 | 5 # All rights reserved. |
6 # | |
7 # This software is licensed as described in the file COPYING, which | |
8 # you should have received as part of this distribution. The terms | |
230 | 9 # are also available at http://genshi.edgewall.org/wiki/License. |
1 | 10 # |
11 # This software consists of voluntary contributions made by many | |
12 # individuals. For the exact contribution history, see the revision | |
230 | 13 # history and logs, available at http://genshi.edgewall.org/log/. |
1 | 14 |
84
894576e2b813
Make dependency of the setup script on setuptools optional.
cmlenz
parents:
66
diff
changeset
|
15 try: |
145
56d534eb53f9
* Fix error in expression evaluation when the expression evaluates to an iterable that does not produce event tuples.
cmlenz
parents:
129
diff
changeset
|
16 from setuptools import setup |
84
894576e2b813
Make dependency of the setup script on setuptools optional.
cmlenz
parents:
66
diff
changeset
|
17 except ImportError: |
894576e2b813
Make dependency of the setup script on setuptools optional.
cmlenz
parents:
66
diff
changeset
|
18 from distutils.core import setup |
1 | 19 |
20 setup( | |
230 | 21 name = 'Genshi', |
255 | 22 version = '0.4', |
230 | 23 description = 'A toolkit for stream-based generation of output for the web', |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
24 long_description = \ |
230 | 25 """Genshi is a Python library that provides an integrated set of components |
26 for parsing, generating, and processing HTML, XML or other textual content for | |
27 output generation on the web. The major feature is a template language, which | |
28 is heavily inspired by Kid.""", | |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
29 author = 'Edgewall Software', |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
30 author_email = 'info@edgewall.org', |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
31 license = 'BSD', |
230 | 32 url = 'http://genshi.edgewall.org/', |
256 | 33 download_url = 'http://genshi.edgewall.org/wiki/Download', |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
34 zip_safe = True, |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
35 |
124
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
36 classifiers = [ |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
37 'Development Status :: 4 - Beta', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
38 'Environment :: Web Environment', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
39 'Intended Audience :: Developers', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
40 'License :: OSI Approved :: BSD License', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
41 'Operating System :: OS Independent', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
42 'Programming Language :: Python', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
43 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
44 'Topic :: Software Development :: Libraries :: Python Modules', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
45 'Topic :: Text Processing :: Markup :: HTML', |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
46 'Topic :: Text Processing :: Markup :: XML' |
9a2acebe84f7
Add Trove classifiers and download URL to `setup.py`.
cmlenz
parents:
84
diff
changeset
|
47 ], |
215 | 48 keywords = ['python.templating.engines'], |
230 | 49 packages = ['genshi'], |
50 test_suite = 'genshi.tests.suite', | |
84
894576e2b813
Make dependency of the setup script on setuptools optional.
cmlenz
parents:
66
diff
changeset
|
51 |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
145
diff
changeset
|
52 extras_require = {'plugin': ['setuptools>=0.6a2']}, |
4
f8612f05af99
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
1
diff
changeset
|
53 entry_points = """ |
f8612f05af99
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
1
diff
changeset
|
54 [python.templating.engines] |
265
0f2bc982a2b9
Split up the plugin implementation into two classes: one for markup templates (?genshi-markup? or just ?genshi?) and one for text templates (?genshi-text?). Also added an example for plain-text templating to the TurboGears example app.
cmlenz
parents:
256
diff
changeset
|
55 genshi = genshi.plugin:MarkupTemplateEnginePlugin[plugin] |
0f2bc982a2b9
Split up the plugin implementation into two classes: one for markup templates (?genshi-markup? or just ?genshi?) and one for text templates (?genshi-text?). Also added an example for plain-text templating to the TurboGears example app.
cmlenz
parents:
256
diff
changeset
|
56 genshi-markup = genshi.plugin:MarkupTemplateEnginePlugin[plugin] |
0f2bc982a2b9
Split up the plugin implementation into two classes: one for markup templates (?genshi-markup? or just ?genshi?) and one for text templates (?genshi-text?). Also added an example for plain-text templating to the TurboGears example app.
cmlenz
parents:
256
diff
changeset
|
57 genshi-text = genshi.plugin:TextTemplateEnginePlugin[plugin] |
4
f8612f05af99
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
1
diff
changeset
|
58 """, |
1 | 59 ) |