diff options
Diffstat (limited to 'lib/spack/external/nose/__main__.py')
-rw-r--r-- | lib/spack/external/nose/__main__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/spack/external/nose/__main__.py b/lib/spack/external/nose/__main__.py new file mode 100644 index 0000000000..b402d9df12 --- /dev/null +++ b/lib/spack/external/nose/__main__.py @@ -0,0 +1,8 @@ +import sys + +from nose.core import run_exit + +if sys.argv[0].endswith('__main__.py'): + sys.argv[0] = '%s -m nose' % sys.executable + +run_exit() |