/usr/bin/edfviewer is in pymca 4.7.1+dfsg-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #! /usr/bin/python
import os
import sys
import PyMca
sys.path.insert(0, os.path.dirname(PyMca.__file__))
fname = os.path.join(os.path.dirname(PyMca.__file__), 'EdfFileSimpleViewer.py')
if sys.version < '3.0':
execfile(fname)
else:
exec(compile(open(fname).read(), fname, 'exec'))
|