Source

django-form-utils / setup.py

Diff from to
 import os.path
 
 try:
-    # don't get confused if our sdist is unzipped in a subdir of some 
+    # don't get confused if our sdist is unzipped in a subdir of some
     # other hg repo
     if os.path.isdir('.hg'):
         p = subprocess.Popen(['hg', 'parents', r'--template={rev}\n'],
             fh.close()
 except (OSError, IndexError):
     pass
-    
+
 try:
     hgrev = open('HGREV').read()
 except IOError:
     hgrev = ''
-    
+
 long_description = open('README.rst').read() + open('CHANGES.rst').read()
 
 setup(
     zip_safe=False,
     package_data={'form_utils': ['templates/form_utils/*.html',
                                  'media/form_utils/js/*.js']},
-    test_suite='tests.runtests.runtests'
+    test_suite='tests.runtests.runtests',
+    tests_require=['Django', 'mock'],
 )