or /usr/lib/python2.5/site-packages/matplotlib/__init__.py:390ff

            command = 'gs --version'
        stdin, stdout = os.popen4(command)
        line = stdout.readlines()[0]
        v = line.split()[0]

as:
$ gs --version
8.61

Maybe regex would be the right way though.

-- 
faulty and fragile version detection for ghostscript
https://bugs.launchpad.net/bugs/154284
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to