Source code for vtool.__main__

# -*- coding: utf-8 -*-
[docs]def main(): # nocover import vtool print('Looks like the imports worked') print('vtool = {!r}'.format(vtool)) print('vtool.__file__ = {!r}'.format(vtool.__file__)) print('vtool.__version__ = {!r}'.format(vtool.__version__)) from vtool._pyflann_backend import pyflann print('pyflann = {!r}'.format(pyflann)) from vtool import sver_c_wrapper print('sver_c_wrapper.lib_fname = {!r}'.format(sver_c_wrapper.lib_fname)) print('sver_c_wrapper.lib_fname_cand = {!r}'.format(sver_c_wrapper.lib_fname_cand)) print('sver_c_wrapper.c_sver = {!r}'.format(sver_c_wrapper.c_sver)) try: import cv2 print('cv2 = {!r}'.format(cv2)) print('cv2.__file__ = {!r}'.format(cv2.__file__)) print('cv2.__version__ = {!r}'.format(cv2.__version__)) except Exception: print('OpenCV (cv2) failed to import')
if __name__ == '__main__': """ CommandLine: python -m vtool """ main()