I don't know it you are still battling with spyre, but I also had problems, this is how I fixed:
According to python anywhere you shoud "Create a "Manually configured" web app * "
Then the code that worked for me in getting the spyre app was having the wsgi file look like this:
import sys
sys.stdout = sys.stderr
sys.path.append('directory_of_your_app') # change this accordingly
import atexit
import cherrypy
cherrypy.config.update({'environment': 'embedded'})
if cherrypy.__version__.startswith('3.0') and cherrypy.engine.state == 0:
cherrypy.engine.start(blocking=False)
atexit.register(cherrypy.engine.stop)
from script_file import name_of_your_app_class #the script file is the name of the file where you have your app
#the name of your app is the name of the class in that fileapp=SimpleSineApp()
app=name_of_your_app_class()
application = cherrypy.Application(app.getRoot(), script_name='', config=None) #notice the getRoot() method