We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a71757 commit 213de70Copy full SHA for 213de70
2 files changed
autotime/__init__.py
@@ -1,6 +1,9 @@
1
from __future__ import print_function
2
3
-from time import monotonic
+try:
4
+ from time import monotonic
5
+except ImportError:
6
+ from monotonic import monotonic
7
8
from IPython.core.magics.execution import _format_time as format_delta
9
setup.py
@@ -17,7 +17,7 @@
17
description='Time everything in IPython',
18
long_description=long_description,
19
license='Apache',
20
- install_requires=['ipython'],
+ install_requires=['ipython', 'monotonic ; python_version < "3.3"'],
21
classifiers=[
22
'Environment :: Console',
23
'Intended Audience :: Developers',
0 commit comments