|
|
@ -16,16 +16,6 @@ def get_version():
|
|
|
|
raise RuntimeError('No version info found.')
|
|
|
|
raise RuntimeError('No version info found.')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_dependencies():
|
|
|
|
|
|
|
|
deps = ['redis >= 2.7.0', 'click >= 5.0']
|
|
|
|
|
|
|
|
if sys.version_info < (2, 7) or \
|
|
|
|
|
|
|
|
(sys.version_info >= (3, 0) and sys.version_info < (3, 1)):
|
|
|
|
|
|
|
|
deps += ['importlib']
|
|
|
|
|
|
|
|
if sys.version_info < (2, 7) or \
|
|
|
|
|
|
|
|
(sys.version_info >= (3, 0) and sys.version_info < (3, 2)):
|
|
|
|
|
|
|
|
deps += ['argparse']
|
|
|
|
|
|
|
|
return deps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
setup(
|
|
|
|
name='rq',
|
|
|
|
name='rq',
|
|
|
|
version=get_version(),
|
|
|
|
version=get_version(),
|
|
|
@ -40,7 +30,11 @@ setup(
|
|
|
|
include_package_data=True,
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
zip_safe=False,
|
|
|
|
platforms='any',
|
|
|
|
platforms='any',
|
|
|
|
install_requires=get_dependencies(),
|
|
|
|
install_requires=[
|
|
|
|
|
|
|
|
'redis >= 2.7.0',
|
|
|
|
|
|
|
|
'click >= 5.0'
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
python_requires='>=2.7',
|
|
|
|
entry_points={
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'console_scripts': [
|
|
|
|
'rq = rq.cli:main',
|
|
|
|
'rq = rq.cli:main',
|
|
|
@ -51,9 +45,6 @@ setup(
|
|
|
|
'rqworker = rq.cli:worker',
|
|
|
|
'rqworker = rq.cli:worker',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extras_require={
|
|
|
|
|
|
|
|
':python_version=="2.6"': ['argparse', 'importlib'],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
classifiers=[
|
|
|
|
classifiers=[
|
|
|
|
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
#'Development Status :: 1 - Planning',
|
|
|
|
#'Development Status :: 1 - Planning',
|
|
|
|