mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
20 lines
468 B
Python
Executable File
20 lines
468 B
Python
Executable File
#!/usr/bin/env python
|
|
# EASY-INSTALL-ENTRY-SCRIPT: 'nose','console_scripts','nosetests'
|
|
# __requires__ = 'nose'
|
|
import os
|
|
import 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')() )
|