From efcdd15902677cee4307d8120faace25d7e4e3b1 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Mon, 1 Jun 2015 11:00:26 +0700 Subject: [PATCH] Update setup.py to ensure Python 2.6 dependencies are installed by pip. --- setup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f2a8574..9fdd3ee 100644 --- a/setup.py +++ b/setup.py @@ -51,13 +51,16 @@ setup( 'rqworker = rq.cli:worker', ], }, + extras_require={ + ':python_version=="2.6"': ['argparse', 'importlib'], + }, classifiers=[ # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers #'Development Status :: 1 - Planning', #'Development Status :: 2 - Pre-Alpha', #'Development Status :: 3 - Alpha', - 'Development Status :: 4 - Beta', - #'Development Status :: 5 - Production/Stable', + #'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', #'Development Status :: 6 - Mature', #'Development Status :: 7 - Inactive', 'Intended Audience :: Developers',