#!/usr/bin/env python

from distutils.core import setup
extra = {}

long_description = \
'''
A python library for console-based raw input-based questions with answers and
extensive and extensible validation for answers.
'''

from qav import __version__

setup(
    name='qav',
    version=__version__,
    author='Derek Yarnell',
    author_email='derek@umiacs.umd.edu',
    packages=['qav'],
    url='',
    license='LICENSE.txt',
    description='Question Answer Validation',
    long_description=long_description,
    **extra
)

@@ -16,16 +16,153 @@
 python%0A%0A
+try:%0A    from setuptools import setup%0A    extra = dict(test_suite=%22tests.test.suite%22, include_package_data=True)%0Aexcept ImportError:%0A    
 from dis
@@ -186,16 +186,20 @@
 t setup%0A
+    
 extra = 

modify setuptools import to try using setuptools module first and setting 'extra' info there. If that import fails, import from distutils.core.