summaryrefslogtreecommitdiff
path: root/funtests/setup.py
blob: fdb7a98c3391cd055f4275a9af301080aea9408e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup
    from setuptools.command.install import install
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup  # noqa
    from setuptools.command.install import install # noqa


class no_install(install):

    def run(self, *args, **kwargs):
        import sys
        sys.stderr.write("""
----------------------------------------------------
The Kombu functional test suite cannot be installed.
----------------------------------------------------


But you can execute the tests by running the command:

    $ python setup.py test


""")


setup(
    name='kombu-funtests',
    version="DEV",
    description="Functional test suite for Kombu",
    author="Ask Solem",
    author_email="ask@celeryproject.org",
    url="http://github.com/celery/kombu",
    platforms=["any"],
    packages=[],
    data_files=[],
    zip_safe=False,
    cmdclass={"install": no_install},
    test_suite="nose.collector",
    build_requires=[
        "nose",
        "nose-cover3",
        "unittest2",
        "coverage>=3.0",
        "simplejson",
        "PyYAML",
        "msgpack-python",
        "pymongo",
        "couchdb",
        "kazoo",
        "beanstalkc",
        "kombu-sqlalchemy",
        "django",
        "django-kombu",
    ],
    classifiers=[
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        "Intended Audience :: Developers",
    ],
    long_description="Do not install this package",
)