Skip to content

Commit

Permalink
BLD: make minimum cycler version 0.10.0
Browse files Browse the repository at this point in the history
closes #6325
  • Loading branch information
tacaswell committed Apr 27, 2016
1 parent 0423430 commit 29df8ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions INSTALL
Expand Up @@ -212,13 +212,13 @@ Required Dependencies
Used to manipulate time-zone aware datetimes. http://pypi.python.org/pypi/pytz

:term:`FreeType` 2.3 or later
Library for reading true type font files. If using pip, easy_install or
Library for reading true type font files. If using pip, easy_install or
installing from source, the installer will attempt to locate FreeType in
expected locations. If it cannot, try installing `pkg-config
expected locations. If it cannot, try installing `pkg-config
<http://matplotlib.org/users/installing.html#optional-dependencies>`__,
a tool used to find required non-python libraries.

`cycler <http://matplotlib.org/cycler/>`__ 0.9 or later
`cycler <http://matplotlib.org/cycler/>`__ 0.10.0 or later
Composable cycle class used for constructing style-cycles

`functools32`
Expand Down
4 changes: 3 additions & 1 deletion setupext.py
Expand Up @@ -1380,7 +1380,9 @@ def check(self):
"cycler was not found. "
"pip/easy_install may attempt to install it "
"after matplotlib.")

if not is_min_version(cycler.__version__, '0.10.0'):
raise CheckFailed('Requires at least cycler 0.10.0 '
'found {}'.format(cycler.__version__))
return "using cycler version %s" % cycler.__version__

def get_install_requires(self):
Expand Down

0 comments on commit 29df8ad

Please sign in to comment.