Mercurial > genshi > genshi-test
comparison setup.py @ 84:894576e2b813
Make dependency of the setup script on setuptools optional.
author | cmlenz |
---|---|
date | Sat, 15 Jul 2006 12:10:51 +0000 |
parents | 822089ae65ce |
children | 9a2acebe84f7 |
comparison
equal
deleted
inserted
replaced
83:24d98edcb808 | 84:894576e2b813 |
---|---|
10 # | 10 # |
11 # This software consists of voluntary contributions made by many | 11 # This software consists of voluntary contributions made by many |
12 # individuals. For the exact contribution history, see the revision | 12 # individuals. For the exact contribution history, see the revision |
13 # history and logs, available at http://markup.edgewall.org/log/. | 13 # history and logs, available at http://markup.edgewall.org/log/. |
14 | 14 |
15 from setuptools import setup, find_packages | 15 try: |
16 from setuptools import setup, find_packages | |
17 except ImportError: | |
18 from distutils.core import setup | |
16 | 19 |
17 setup( | 20 setup( |
18 name='Markup', version='0.1', | 21 name='Markup', version='0.1', |
19 description='Toolkit for stream-based generation of markup for the web', | 22 description='Toolkit for stream-based generation of markup for the web', |
20 author='Edgewall Software', author_email='info@edgewall.org', | 23 author='Edgewall Software', author_email='info@edgewall.org', |
21 license='BSD', url='http://markup.edgewall.org/', | 24 license='BSD', url='http://markup.edgewall.org/', |
22 packages=find_packages(exclude=['*.tests*']), | 25 packages=['markup'], |
26 | |
23 test_suite = 'markup.tests.suite', | 27 test_suite = 'markup.tests.suite', |
24 zip_safe = True, | 28 zip_safe = True, |
25 entry_points = """ | 29 entry_points = """ |
26 [python.templating.engines] | 30 [python.templating.engines] |
27 markup = markup.plugin:TemplateEnginePlugin | 31 markup = markup.plugin:TemplateEnginePlugin |