| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 | #!/usr/bin/env python# -*- coding: utf-8 -*-try:    from setuptools import setup    from setuptools.command.install import installexcept ImportError:    from ez_setup import use_setuptools    use_setuptools()    from setuptools import setup    from setuptools.command.install import installimport osimport syssys.path.insert(0, os.getcwd())sys.path.insert(0, os.path.join(os.getcwd(), os.pardir))import suiteclass no_install(install):    def run(self, *args, **kwargs):        import sys        sys.stderr.write("""------------------------------------------------------The Celery functional test suite cannot be installed.------------------------------------------------------But you can execute the tests by running the command:    $ python setup.py test""")setup(    name='celery-funtests',    version="DEV",    description="Functional test suite for Celery",    author="Ask Solem",    author_email="ask@celeryproject.org",    url="http://github.com/ask/celery",    platforms=["any"],    packages=[],    data_files=[],    zip_safe=False,    cmdclass={"install": no_install},    test_suite="nose.collector",    tests_require=[        "unittest2>=0.4.0",        "simplejson",        "nose",        "pytyrant",        "redis",        "pymongo",    ],    classifiers=[        "Operating System :: OS Independent",        "Programming Language :: Python",        "License :: OSI Approved :: BSD License",        "Intended Audience :: Developers",    ],    long_description="Do not install this package",)
 |