Use environment metadata for conditional dependencies
This commit is contained in:
parent
7900d2102e
commit
8dfdcfa0f1
1 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
@ -41,7 +41,6 @@ setup(
|
||||||
'django-cms>=3.0',
|
'django-cms>=3.0',
|
||||||
'django-taggit',
|
'django-taggit',
|
||||||
'django-filer',
|
'django-filer',
|
||||||
'django-select2' if sys.version_info[0]==2 else 'django-select2-py3',
|
|
||||||
'pytz',
|
'pytz',
|
||||||
'django-taggit-templatetags',
|
'django-taggit-templatetags',
|
||||||
'django-taggit-autosuggest',
|
'django-taggit-autosuggest',
|
||||||
|
@ -52,6 +51,12 @@ setup(
|
||||||
'django-meta-mixin>=0.1.1',
|
'django-meta-mixin>=0.1.1',
|
||||||
'south>=1.0.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",
|
license="BSD",
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
keywords='djangocms-blog, blog, django, wordpress, multilingual',
|
keywords='djangocms-blog, blog, django, wordpress, multilingual',
|
||||||
|
|
Loading…
Reference in a new issue