|
@@ -40,7 +40,9 @@ class RunTests(Command):
|
|
|
os.chdir(this_dir)
|
|
|
|
|
|
|
|
|
-install_requires = ["carrot"]
|
|
|
+install_requires = ["django-unittest-depth",
|
|
|
+ "carrot>=0.5.0",
|
|
|
+ "python-daemon"]
|
|
|
py_version_info = sys.version_info
|
|
|
py_major_version = py_version_info[0]
|
|
|
py_minor_version = py_version_info[1]
|
|
@@ -48,8 +50,8 @@ py_minor_version = py_version_info[1]
|
|
|
if (py_major_version == 2 and py_minor_version <=5) or py_major_version < 2:
|
|
|
install_requires.append("multiprocessing")
|
|
|
|
|
|
-if os.path.exists("README"):
|
|
|
- long_description = codecs.open("README", "r", "utf-8").read()
|
|
|
+if os.path.exists("README.rst"):
|
|
|
+ long_description = codecs.open("README.rst", "r", "utf-8").read()
|
|
|
else:
|
|
|
long_description = "See http://pypi.python.org/pypi/celery"
|
|
|
|
|
@@ -65,10 +67,10 @@ setup(
|
|
|
packages=find_packages(exclude=['ez_setup']),
|
|
|
scripts=["bin/celeryd"],
|
|
|
zip_safe=False,
|
|
|
- install_requires=[
|
|
|
- 'carrot>=0.4.5',
|
|
|
- 'python-daemon',
|
|
|
- ],
|
|
|
+ install_requires=install_requires,
|
|
|
+ extra_requires={
|
|
|
+ "Tyrant": ["pytyrant"],
|
|
|
+ },
|
|
|
cmdclass = {"test": RunTests},
|
|
|
classifiers=[
|
|
|
"Development Status :: 4 - Beta",
|