File: bindings-dll-diagnostic.py

package info (click to toggle)
visp 3.7.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 166,332 kB
  • sloc: cpp: 392,705; ansic: 224,448; xml: 23,444; python: 13,701; java: 4,792; sh: 206; objc: 145; makefile: 60
file content (13 lines) | stat: -rw-r--r-- 338 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
import sys

try:
  import dlltracer
except:
  print('You need to install dlltracer to use this script.')
  print('Run: pip install dlltracer')
  sys.exit(-1)

# Trace dlls that are required by the Python bindings, using the dlltracer tool.
# This script should be run as administrator.
with dlltracer.Trace(out=sys.stdout):
  import visp