mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
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.
21 lines
464 B
Python
Executable File
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')()
|
|
)
|