Source

bailey / setup.py

Full commit
"""
======
Bailey
======

The `development version
<http://www.bitbucket.org/jek/bailey/get/tip.tgz#Bailey==dev>`_ of
Bailey can be installed via ``easy_install Bailey==dev`` or from the
`mercurial repository <http://www.bitbucket.org/jek/bailey>`_.

"""

try:
    from setuptools import setup
    extra_setup = dict(
        zip_safe = True,
        setup_requires=['werkzeug'],
        extras_require = {'lxml' : ['lxml'],
                          'pyquery': ['lxml', 'pyquery']},
        tests_require=['nose'],
        # for tests, prefer just 'nosetests tests'
        test_suite='nose.collector',
        )
except ImportError:
    from distutils import setup
    extra_setup = {}

setup(name="Bailey",
      version="0.3",
      packages=['bailey'],
      author="Jason Kirtland",
      author_email="jek@discorporate.us",
      keywords="wsgi test unit test robot crawler integration functional web",
      long_description=__doc__,
      license='MIT License',
      url='http://discorporate.us/projects/Bailey/',
      classifiers=['Development Status :: 4 - Beta',
                   'Environment :: Web Environment',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: MIT License',
                   'Natural Language :: English',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Programming Language :: Python :: 2.5',
                   'Programming Language :: Python :: 2.6',
                   'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
                   'Topic :: Software Development :: Libraries'],
      **extra_setup
      )