Skip to content

Commit 348455c

Browse files
authored
Merge pull request #199 from nschloe/pipdate-not-require
don't strictly require pipdate
2 parents 984636c + 5248145 commit 348455c

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

matplotlib2tikz/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
__copyright__ = 'Copyright (c) 2010-2017, %s <%s>' % (__author__, __email__)
66
__credits__ = []
77
__license__ = 'License :: OSI Approved :: MIT License'
8-
__version__ = '0.6.11'
8+
__version__ = '0.6.12'
99
__maintainer__ = u'Nico Schlömer'
1010
__status__ = 'Development Status :: 5 - Production/Stable'

matplotlib2tikz/__init__.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
from matplotlib2tikz.save import get_tikz_code, save
1919

20-
import pipdated
21-
if pipdated.needs_checking(__name__):
22-
print(pipdated.check(__name__, __version__))
20+
try:
21+
import pipdate
22+
except ImportError:
23+
pass
24+
else:
25+
if pipdate.needs_checking(__name__):
26+
print(pipdate.check(__name__, __version__))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def read(fname):
3434
'matplotlib >=1.4.0',
3535
'numpy',
3636
'Pillow >= 3.0.0',
37-
'pipdated',
37+
'pipdate',
3838
'six',
3939
],
4040
description='convert matplotlib figures into TikZ/PGFPlots',

0 commit comments

Comments
 (0)