changeset 84:0a1843b2c096 trunk

Make dependency of the setup script on setuptools optional.
author cmlenz
date Sat, 15 Jul 2006 12:10:51 +0000
parents c82309603908
children 4938c310d904
files setup.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 = """
Copyright (C) 2012-2017 Edgewall Software