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
4
setup.py
4
setup.py
|
|
@ -23,6 +23,7 @@ if sys.argv[-1] == 'publish':
|
||||||
readme = open('README.rst').read()
|
readme = open('README.rst').read()
|
||||||
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
|
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='djangocms-blog',
|
name='djangocms-blog',
|
||||||
version=version,
|
version=version,
|
||||||
|
|
@ -40,7 +41,7 @@ setup(
|
||||||
'django-cms>=3.0',
|
'django-cms>=3.0',
|
||||||
'django-taggit',
|
'django-taggit',
|
||||||
'django-filer',
|
'django-filer',
|
||||||
'django-select2-Py3',
|
'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',
|
||||||
|
|
@ -63,5 +64,6 @@ setup(
|
||||||
"Programming Language :: Python :: 2",
|
"Programming Language :: Python :: 2",
|
||||||
'Programming Language :: Python :: 2.6',
|
'Programming Language :: Python :: 2.6',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
|
'Programming Language :: Python :: 3.3',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue