Orestis Markou  committed f7067f8

added setuptools support so that we can run tests

  • Participants
  • Parent commits 0a8b180

Comments (0)

Files changed (1)

 import glob
 import os
 import shutil
-from distutils.core import setup
+    # we don't want to depend on setuptools
+    # please don't use any setuptools specific API
+    from setuptools import setup
+    extra_kwargs = dict(
+        test_suite='ropetest',
+    )
+except ImportError:
+    from distutils.core import setup
 import rope
                     'rope.refactor.importutils', 'rope.contrib'],
           package_data={'rope': ['docs/*.txt']},
           license='GNU GPL',
-          classifiers=classifiers)
+          classifiers=classifiers,
+          **extra_kwargs)