/usr/lib/python3/dist-packages/pyvisa-py/__init__.py is in python3-pyvisa-py 0.2-2.
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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # -*- coding: utf-8 -*-
"""
pyvisa-py
~~~~~~~~~
Pure Python backend for PyVISA.
:copyright: 2014 by PyVISA-py Authors, see AUTHORS for more details.
:license: MIT, see LICENSE for more details.
"""
from __future__ import division, unicode_literals, print_function, absolute_import
import pkg_resources
__version__ = "unknown"
try: # pragma: no cover
__version__ = pkg_resources.get_distribution('pyvisa-py').version
except: # pragma: no cover
pass # we seem to have a local copy without any repository control or installed without setuptools
# so the reported version will be __unknown__
from .highlevel import PyVisaLibrary
WRAPPER_CLASS = PyVisaLibrary
|