# HG changeset patch # User cmlenz # Date 1152965451 0 # Node ID 894576e2b8138dbc31d98720acbb6f17d784cc68 # Parent 24d98edcb8085fc6d3c0db270f1653535c772050 Make dependency of the setup script on setuptools optional. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -12,14 +12,18 @@ # individuals. For the exact contribution history, see the revision # history and logs, available at http://markup.edgewall.org/log/. -from setuptools import setup, find_packages +try: + from setuptools import setup, find_packages +except ImportError: + from distutils.core import setup setup( name='Markup', version='0.1', description='Toolkit for stream-based generation of markup for the web', author='Edgewall Software', author_email='info@edgewall.org', license='BSD', url='http://markup.edgewall.org/', - packages=find_packages(exclude=['*.tests*']), + packages=['markup'], + test_suite = 'markup.tests.suite', zip_safe = True, entry_points = """