Commits

Anonymous committed a4a74d4

setup.py: fix distutils failure

  • Participants
  • Parent commits dca3870
  • Tags 0.9.2

Comments (0)

Files changed (1)

 import glob
 import os
 import shutil
+
+extra_kwargs = {}
 try:
     # 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',
-    )
+    extra_kwargs['test_suite'] = 'ropetest'
 except ImportError:
     from distutils.core import setup