ocarina/scripts/check_deps.py
Bryan Schumaker e537f6d1c6 Added check_deps.py
This script will attempt to import required and optional dependencies to
see if they are installed and available to the python interpreter.
2011-05-01 11:39:57 -04:00

37 lines
674 B
Python

# Bryan Schumaker (1 / 22 / 2010)
# Use this script to check if all required and
# optional dependencies have been installed
print "Checking for gstreamer"
import gst
print "Checking for tagpy"
import tagpy
print "Checking for gobject"
import gobject
print "Checking for gtk"
import gtk
print "Checking for pango"
import pango
print ""
print "==================="
print "Basic checks passed"
print "==================="
print ""
warning = "WARNING: install %s to use the %s plugin"
try:
print "Checking for pynotify"
import pynotify
except:
print warning % ("pynotify", "notify")
try:
print "Checking for webkit"
except:
print warning % ("webkit", "web radio")