Skip to content

Commit

Permalink
Fixed mock dependency in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Oct 17, 2016
1 parent 1956413 commit 02fc522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ History
++++++++++++++++++

* Added support for django-sekizai 0.10
* Fixed mock dependency in setup.py

0.9.6 (2016-08-25)
++++++++++++++++++
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
test_suite = 'unittest2.collector'
else:
test_suite = 'djangocms_helper.tests'
if sys.version_info[:2] < (3, 3):
requirements.append('mock')

setuptools.setup(
name="djangocms-helper",
Expand All @@ -31,6 +29,9 @@
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=requirements,
extras_require={
':python_version<"3.3"': ['mock'],
},
entry_points={
'console_scripts': [
'djangocms-helper = djangocms_helper.main:main',
Expand Down

0 comments on commit 02fc522

Please sign in to comment.