Previous changeset 17:a584ff2f7554 (2015-02-01) Next changeset 19:ff812453b1b3 (2015-02-02) |
Commit message:
Uploaded |
modified:
getlocalrpackages.py |
b |
diff -r a584ff2f7554 -r a11e053d4976 getlocalrpackages.py --- 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 + |