Mercurial > repos > fubar > tool_factory_2
changeset 18:a11e053d4976 draft
Uploaded
author | fubar |
---|---|
date | Sun, 01 Feb 2015 19:57:14 -0500 |
parents | a584ff2f7554 |
children | ff812453b1b3 |
files | getlocalrpackages.py |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/getlocalrpackages.py Sun Feb 01 19:46:48 2015 -0500 +++ b/getlocalrpackages.py Sun Feb 01 19:57:14 2015 -0500 @@ -2,15 +2,6 @@ import subprocess import sys -new_path = [ os.path.join( os.getcwd(), "lib" ) ] -#new_path.extend( sys.path[1:] ) # remove scripts/ from the path -sys.path = new_path -from galaxy import config - -aconfig = config.Configuration( ) -M_A_K = aconfig.master_api_key -print M_A_K - def find_packages(prefix="package_r_"): """ @@ -47,3 +38,12 @@ if __name__ == "__main__": print find_packages() + + new_path = [ os.path.join( os.getcwd(), "lib" ) ] + #new_path.extend( sys.path[1:] ) # remove scripts/ from the path + sys.path = new_path + from galaxy import config + + aconfig = config.Configuration( ) + M_A_K = aconfig.master_api_key +