diff --git a/scripts/check_deps.py b/scripts/check_deps.py new file mode 100644 index 00000000..6192b52f --- /dev/null +++ b/scripts/check_deps.py @@ -0,0 +1,36 @@ +# 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")