#!/usr/bin/env python
"""
nose runner script.

This script is a front-end to "nosetests" which
installs SQLAlchemy's testing plugin into the local environment.

"""
import sys
import os
import imp
import nose


from os import path
#for pth in ['.', './lib', './test']:
#    sys.path.insert(0, path.join(path.dirname(path.abspath(__file__)), pth))



path = "lib/sqlalchemy/testing/plugin/noseplugin.py"
noseplugin = imp.load_source("noseplugin", path)


nose.main(addplugins=[noseplugin.NoseSQLAlchemy()])

@@ -173,18 +173,8 @@
 sys%0A
-import os%0A
 impo
@@ -214,17 +214,16 @@
 rt path%0A
-#
 for pth 
@@ -232,32 +232,16 @@
  %5B'.
-', './lib', './test
+/lib
 '%5D:%0A
-#
     
@@ -314,17 +314,105 @@
  pth))%0A%0A
-%0A
+# installing without importing SQLAlchemy, so that coverage includes%0A# SQLAlchemy itself.
 %0Apath = 

fix the path here