def pack_conda_env(overwrite=True):
    """
    Pack the local conda env located at CONDA_ENV_LOCATION
    """
    if overwrite:
        print('Overwriting tar file if exists at:' + '/tmp/' + CONDA_ENV_NAME + '.tar')
        __tar_env()
    else:
        if not os.path.exists('/tmp/%s.tar' % CONDA_ENV_NAME):
            print('Tar file does not exist, creating new tar file at:' + '/tmp/' + CONDA_ENV_NAME + '.tar')
            __tar_env()