mirror of https://github.com/celery/kombu.git
Don't depend on librabbitmq afterall
This commit is contained in:
parent
88cf7726a6
commit
2d23d22c83
16
setup.py
16
setup.py
|
@ -100,17 +100,6 @@ if os.path.exists("README.rst"):
|
||||||
else:
|
else:
|
||||||
long_description = "See http://pypi.python.org/pypi/kombu"
|
long_description = "See http://pypi.python.org/pypi/kombu"
|
||||||
|
|
||||||
install_requires = ["anyjson>=0.3.1"]
|
|
||||||
|
|
||||||
is_jython = sys.platform.startswith("java")
|
|
||||||
is_pypy = hasattr(sys, "pypy_version_info")
|
|
||||||
is_py3k = sys.version_info[0] == 3
|
|
||||||
is_win = platform.system() == "Windows"
|
|
||||||
if is_jython or is_pypy or is_py3k or is_win:
|
|
||||||
install_requires.append("amqplib>=1.0.1")
|
|
||||||
else:
|
|
||||||
install_requires.append("librabbitmq>=0.9.3")
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='kombu',
|
name='kombu',
|
||||||
version=meta["VERSION"],
|
version=meta["VERSION"],
|
||||||
|
@ -123,7 +112,10 @@ setup(
|
||||||
data_files=data_files,
|
data_files=data_files,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
test_suite="nose.collector",
|
test_suite="nose.collector",
|
||||||
install_requires=install_requires,
|
install_requires=[
|
||||||
|
"anyjson>=0.3.1",
|
||||||
|
"amqplib>=1.0.2",
|
||||||
|
],
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
|
Loading…
Reference in New Issue