if is_depends_enabled $SPELL pygtk2; then
  on_cast python cast_self
fi
