conditional django-select2-py3 instead of django-select2 for python 3
This commit is contained in:
parent
31939af387
commit
9254d3dc1c
1 changed files with 4 additions and 2 deletions
6
setup.py
6
setup.py
|
@ -23,6 +23,7 @@ if sys.argv[-1] == 'publish':
|
|||
readme = open('README.rst').read()
|
||||
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
|
||||
|
||||
|
||||
setup(
|
||||
name='djangocms-blog',
|
||||
version=version,
|
||||
|
@ -40,7 +41,7 @@ setup(
|
|||
'django-cms>=3.0',
|
||||
'django-taggit',
|
||||
'django-filer',
|
||||
'django-select2-Py3',
|
||||
'django-select2' if sys.version_info[0]==2 else 'django-select2-py3',
|
||||
'pytz',
|
||||
'django-taggit-templatetags',
|
||||
'django-taggit-autosuggest',
|
||||
|
@ -49,7 +50,7 @@ setup(
|
|||
'cmsplugin-filer',
|
||||
'django-meta>=0.2',
|
||||
'django-meta-mixin>=0.1.1',
|
||||
'south>=1.0.1',
|
||||
'south>=1.0.1',
|
||||
],
|
||||
license="BSD",
|
||||
zip_safe=False,
|
||||
|
@ -63,5 +64,6 @@ setup(
|
|||
"Programming Language :: Python :: 2",
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue