diff --git a/modules/pip.py b/modules/pip.py index 44e707e..f16b359 100644 --- a/modules/pip.py +++ b/modules/pip.py @@ -156,7 +156,7 @@ def freeze(param='help'): \tFalse (default) - print the freeze output to the console """ - from utils import booleanize, handle_help + from .utils import booleanize, handle_help if handle_help(param, msg_help, 'help'): sys.exit() @@ -218,7 +218,7 @@ def copyto(branch): "This will simply copy over \n\tthe requirements file for " "this branch with itself", ERROR_BAD_BRANCH_PARAM) - from initialize import get_config + from .initialize import get_config branch_config = get_config(branch) @@ -237,10 +237,10 @@ def copyto(branch): "destination branch '{branch_dst}'. Continue? Y/n ".format( branch_src=configuration.project.branch, branch_dst=branch) - from utils import prompt_continue + from .utils import prompt_continue prompt_continue(message=message) - from utils import upload_template + from .utils import upload_template upload_template( filename=configuration.virtualenv.requirements.filename, destination=branch_local_path,