/usr/share/pyshared/cviewer/version.py is in connectomeviewer 2.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | import os
_THIS_DIR = os.path.dirname(__file__)
# Please do not change these lines to use execfile because execfile is
# not available in Python 3
INFO_VARS = {}
exec(open(os.path.join(_THIS_DIR, 'info.py'), 'rt').read(), {}, INFO_VARS)
version = INFO_VARS['version']
INFO_VARS['is_release']
|