Don't depend on librabbitmq afterall

This commit is contained in:
Ask Solem 2012-05-28 21:15:11 +01:00
parent 88cf7726a6
commit 2d23d22c83
1 changed files with 4 additions and 12 deletions

View File

@ -100,17 +100,6 @@ if os.path.exists("README.rst"):
else:
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(
name='kombu',
version=meta["VERSION"],
@ -123,7 +112,10 @@ setup(
data_files=data_files,
zip_safe=False,
test_suite="nose.collector",
install_requires=install_requires,
install_requires=[
"anyjson>=0.3.1",
"amqplib>=1.0.2",
],
tests_require=tests_require,
classifiers=[
"Development Status :: 5 - Production/Stable",