Created
June 12, 2013 20:09
-
-
Save natefoo/5768680 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py Wed Jun 12 11:48:09 2013 -0400 | |
+++ b/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py Wed Jun 12 16:09:07 2013 -0400 | |
@@ -284,7 +284,7 @@ | |
setup_command = "python %s/virtualenv.py --no-site-packages '%s'" % (venv_src_directory, venv_directory) | |
# POSIXLY_CORRECT forces shell commands . and source to have the same | |
# and well defined behavior in bash/zsh. | |
- activate_command = "POSIXLY_CORRECT=1; . %s" % os.path.join( venv_directory, "bin", "activate" ) | |
+ activate_command = "POSIXLY_CORRECT=1 PYTHONUSERSITE=1; . %s" % os.path.join( venv_directory, "bin", "activate" ) | |
install_command = "pip install -r '%s'" % requirements_path | |
full_setup_command = "%s; %s; %s" % ( setup_command, activate_command, install_command ) | |
return_code = handle_command( app, tool_dependency, install_dir, full_setup_command ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment