Skip to content

Commit

Permalink
Add Cycler as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
WeatherGod committed Aug 15, 2015
1 parent 53c716a commit d08c627
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
setupext.Numpy(),
setupext.Dateutil(),
setupext.Pytz(),
setupext.Cycler(),
setupext.Tornado(),
setupext.Pyparsing(),
setupext.LibAgg(),
Expand Down
18 changes: 18 additions & 0 deletions setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,24 @@ def get_install_requires(self):
return ['pytz']


class Cycler(SetupPackage):
name = "cycler"

def check(self):
try:
import cycler
except ImportError:
return (
"cycler was not found. "
"pip will attempt to install it "
"after matplotlib.")

return "using cycler version %s" % pytz.__version__

def get_install_requires(self):
return ['cycler']


class Dateutil(SetupPackage):
name = "dateutil"

Expand Down

0 comments on commit d08c627

Please sign in to comment.