2010-11-12 11:02:04 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
2016-04-06 20:14:05 +00:00
|
|
|
from __future__ import absolute_import, unicode_literals
|
2010-11-12 11:02:04 +00:00
|
|
|
|
|
|
|
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
|
2013-01-17 13:50:01 +00:00
|
|
|
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',
|
2013-04-15 16:44:13 +00:00
|
|
|
version='DEV',
|
|
|
|
description='Functional test suite for Kombu',
|
|
|
|
author='Ask Solem',
|
|
|
|
author_email='ask@celeryproject.org',
|
|
|
|
url='http://github.com/celery/kombu',
|
|
|
|
platforms=['any'],
|
2010-11-12 11:02:04 +00:00
|
|
|
packages=[],
|
|
|
|
data_files=[],
|
|
|
|
zip_safe=False,
|
2013-04-15 16:44:13 +00:00
|
|
|
cmdclass={'install': no_install},
|
|
|
|
test_suite='nose.collector',
|
2010-11-12 11:02:04 +00:00
|
|
|
build_requires=[
|
2013-04-15 16:44:13 +00:00
|
|
|
'nose',
|
|
|
|
'unittest2',
|
|
|
|
'coverage>=3.0',
|
|
|
|
'simplejson',
|
|
|
|
'PyYAML',
|
|
|
|
'msgpack-python',
|
|
|
|
'pymongo',
|
2010-11-12 11:02:04 +00:00
|
|
|
],
|
|
|
|
classifiers=[
|
2013-04-15 16:44:13 +00:00
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'License :: OSI Approved :: BSD License',
|
|
|
|
'Intended Audience :: Developers',
|
2010-11-12 11:02:04 +00:00
|
|
|
],
|
2013-04-15 16:44:13 +00:00
|
|
|
long_description='Do not install this package',
|
2010-11-12 11:02:04 +00:00
|
|
|
)
|