Open simonpercivall opened 6 years ago
Yes, we would love to do this. I've been trying out ways to make it a soft dependency, but it's tricky with the way the IPython API has changed. If you've got any suggestions, let us know!
In its most simple way, I'd do it like this: PR #114
'Course, it'd be better to split out into a separate file, to make it look a bit cleaner.
It would be great if
line_profiler
didn't always requireIPython
to install, instead making it either a soft dependency, or anextras_require
(with graceful degradation, of course).