2010-11-12 11:02:04 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
try:
|
2011-01-07 10:30:13 +00:00
|
|
|
from setuptools import setup
|
2010-11-12 11:02:04 +00:00
|
|
|
from setuptools.command.install import install
|
|
|
|
except ImportError:
|
|
|
|
from ez_setup import use_setuptools
|
|
|
|
use_setuptools()
|
2011-04-21 16:29:51 +00:00
|
|
|
from setuptools import setup # noqa
|
|
|
|
from setuptools.command.install import install # noqa
|
2010-11-12 11:02:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
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",
|
2012-06-06 13:46:58 +00:00
|
|
|
url="http://github.com/celery/kombu",
|
2010-11-12 11:02:04 +00:00
|
|
|
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",
|
2012-06-07 12:08:41 +00:00
|
|
|
"kazoo",
|
2010-11-12 11:02:04 +00:00
|
|
|
"pika",
|
|
|
|
"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",
|
|
|
|
)
|