Files
galaxy/scripts/nosetests.py
T
Nate Coraor 7560751dc8 Separate framework and tool environments.
Whether running locally or via PBS, $PATH should now be handled in your
user's environment.

This also fixes problems like PYTHONPATH on the new blast nodes being
wrong (because they are x86_64 and the frontends are i686).

Note that you can actually start Galaxy without having an eggs dir now.
2008-04-11 20:11:21 +00:00

21 lines
464 B
Python
Executable File

#!/usr/bin/env python
# EASY-INSTALL-ENTRY-SCRIPT: 'nose','console_scripts','nosetests'
#__requires__ = 'nose'
import os, sys
new_path = [ os.path.join( os.getcwd(), "lib" ) ]
new_path.extend( sys.path[1:] )
sys.path = new_path
from galaxy import eggs
eggs.require( 'nose' )
eggs.require( 'NoseHTML' )
from pkg_resources import load_entry_point
assert sys.version_info[:2] >= ( 2, 4 )
sys.exit(
load_entry_point('nose', 'console_scripts', 'nosetests')()
)