add mediagoblin files
diff --git a/examples/mediagoblin/Makefile.in b/examples/mediagoblin/Makefile.in
new file mode 100644
--- /dev/null
+++ b/examples/mediagoblin/Makefile.in
@@ -0,0 +1,102 @@
+
+VPATH = @srcdir@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PYTHON = @PYTHON@
+SHELL = @SHELL@
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = ${INSTALL} -m 644
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+prefix = @prefix@
+srcdir = @srcdir@
+pkgpythondir = @pkgpythondir@
+pkgpyexecdir = @pkgpyexecdir@
+
+
+
+all: install
+
+.PHONY: all install uninstall distclean info install-html html install-pdf pdf install-dvi dvi install-ps ps clean dist check
+
+install:
+ $(NORMAL_INSTALL)
+ $(PYTHON) $(srcdir)setup.py develop --prefix=$(DESTDIR)$(prefix)
+ $(INSTALL_PROGRAM) $(srcdir)/lazyserver.sh $(DESTDIR)$(datadir)
+ $(INSTALL_PROGRAM) $(srcdir)/lazycelery.sh $(DESTDIR)$(datadir)
+ $(INSTALL_PROGRAM) $(srcdir)/lazystarter.sh $(DESTDIR)$(datadir)
+ $(INSTALL_DATA) $(srcdir)/mediagoblin.ini $(DESTDIR)$(datadir)
+ $(INSTALL_DATA) $(srcdir)/paste.ini $(DESTDIR)$(datadir)
+
+
+uninstall: $(wildcard $(srcdir)/docs/source/*)
+ rm -rf $(DESTDIR)$(datadir)
+ rm -rf $(DESTDIR)$(htmldir)
+ rm -rf $(DESTDIR)$(pdfdir)
+
+
+clean:
+ $(PYTHON) setup.py clean
+
+
+distclean: $(wildcard $(srcdir)/docs/source/*)
+ rm $(srcdir)/config.log
+ rm $(srcdir)/config.status
+
+
+$(DESTDIR)$(infodir)/gnumediagoblin.info: docs/build/texinfo/gnumediagoblin.info
+ $(POST_INSTALL)
+ $(INSTALL_DATA) @< $(DESTDIR)$@
+ if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then
+ install-info --dir-file=$(DESTDIR)$(infodir)/dir \
+ $(DESTDIR)$(infodir)/gnumediagoblin.info;
+ else true; fi
+
+info: docs/build/texinfo/gnumediagoblin.info
+
+docs/build/texinfo/gnumediagoblin.info: $(wildcard docs/source/*)
+ $(MAKE) -C docs info
+
+
+install-html: html
+ $(INSTALL_DATA) docs/build/html/* $(DESTDIR)$(htmldir)
+
+html: docs/build/html/index.html
+
+docs/build/html/index.html: $(wildcard $(srcdir)/docs/source/*)
+ $(MAKE) -C docs html
+
+
+install-pdf: pdf
+ $(INSTALL_DATA) docs/build/latex/GNUMediaGoblin.pdf $(DESTDIR)$(pdfdir)
+
+pdf: docs/build/latex/GNUMediaGoblin.pdf
+
+docs/build/latex/GNUMediaGoblin.pdf: $(wildcard $(srcdir)/docs/source/*)
+ $(MAKE) -C docs latexpdf
+
+
+install-dvi:
+
+dvi:
+
+install-ps:
+
+ps:
+
+
+dist:
+ $(PYTHON) setup.py sdist
+
+check:
+ $(PYTHON) setup.py check
diff --git a/examples/mediagoblin/configure.ac b/examples/mediagoblin/configure.ac
new file mode 100644
--- /dev/null
+++ b/examples/mediagoblin/configure.ac
@@ -0,0 +1,67 @@
+# Copyright 2012 Brandon Invergo <brandon@invergo.net>
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+# This is a basic Autoconf configure.ac file for Python-based
+# projects. It is not intended to be used as-is, but rather to be
+# modified to the specific needs of the project.
+
+
+dnl####################################
+dnl Define some macros here as needed #
+dnl####################################
+
+# The minimum-required Python versions
+m4_define(python_min_ver, 2.6)
+
+
+dnl#############################################
+dnl Import the Python-specific Autoconf macros #
+dnl#############################################
+
+# Unless these macros are included upstream somewhere, this must be included
+m4_include([m4/python.m4])
+
+
+dnl#######################################
+dnl Autoconf and Automake initialization #
+dnl#######################################
+
+# Initialize Autoconf.
+AC_INIT(MediaGoblin, 0.3.1)
+
+# Load macros from the m4/ directory
+AC_CONFIG_MACRO_DIR([m4])
+
+
+# Here we check if we are using Python 3
+PC_PYTHON_VERIFY_VERSION([$PYTHON], 3.0,
+ py3k=true,
+ py3k=false)
+# If using python 3 make sure we have the minimum version supported
+if test "$py3k" = "true" ; then
+ m4_define_default([_PYTHON2_BINS], [python2 python2.7 python2.6])
+ AC_PATH_PROGS(PYTHON, [_PYTHON2_BINS])
+else
+# otherwise check that the Python 2 version is sufficient
+ PC_PYTHON_VERIFY_VERSION([$PYTHON], python_min_ver, ,
+ [AC_MSG_ERROR(Python interpreter too old)])
+fi
+
+PC_PYTHON_CHECK_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
+
+PC_PYTHON_SITE_PACKAGE_DIR
+PC_PYTHON_EXEC_PACKAGE_DIR
+
+PC_PYTHON_CHECK_MODULE([lxml],,[AC_MSG_ERROR(could not find Python lxml module)])
+PC_PYTHON_CHECK_MODULE([Image],,[AC_MSG_ERROR(could not find Python Imaging Library (PIL)])
+
+
+
+# Files to be configured
+AC_CONFIG_FILES([Makefile])
+# Generate config.status
+AC_OUTPUT