Use environment metadata for conditional dependencies

This commit is contained in:
Iacopo Spalletti 2015-02-19 10:30:12 +01:00
parent 7900d2102e
commit 8dfdcfa0f1

View file

@ -41,7 +41,6 @@ setup(
'django-cms>=3.0',
'django-taggit',
'django-filer',
'django-select2' if sys.version_info[0]==2 else 'django-select2-py3',
'pytz',
'django-taggit-templatetags',
'django-taggit-autosuggest',
@ -52,6 +51,12 @@ setup(
'django-meta-mixin>=0.1.1',
'south>=1.0.1',
],
extras_require={
":python_version=='3.3'": ['django-select2-py3'],
":python_version=='3.4'": ['django-select2-py3'],
":python_version=='2.6'": ['django-select2'],
":python_version=='2.7'": ['django-select2'],
},
license="BSD",
zip_safe=False,
keywords='djangocms-blog, blog, django, wordpress, multilingual',