-
Notifications
You must be signed in to change notification settings - Fork 129
Add support for display envvars #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hmmm, wouldn't this be a great time to drop 2.7 support? 😀 |
|
Nope, still a horrible time to drop 2.7 support :-( |
pydeps/pydeps.py
Outdated
| try: | ||
| svg = dot.call_graphviz_dot(dotsrc, fmt) | ||
| except OSError as cause: | ||
| raise RuntimeError("While rendering {!r}: {}".format(output, cause)) from cause |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish... but I'm still on 2.7, so I'm afraid this is a no-go :-(
|
I like your other changes though... |
|
I'll remove the from clauses, then it should work. |
|
Giving up. I have no Py2 on this machine. |
|
Thanks for all your effort! |
|
v1.9.7 is out on PyPI. |
Checks both the PYDEPS_DISPLAY and BROWSER envvars to change the default image file opener.
Also: Extended OS error handling when calling dot, graphviz, and the viewer