'Takes the installed zappa and brings it into a fresh virtualenv-like folder. All dependencies are then downloaded.'

def create_handler_venv(self):

    import pip
    current_venv = self.get_current_venv()
    ve_path = os.path.join(os.getcwd(), 'handler_venv')
    if (os.sys.platform == 'win32'):
        current_site_packages_dir = os.path.join(current_venv, 'Lib', 'site-packages')
        venv_site_packages_dir = os.path.join(ve_path, 'Lib', 'site-packages')
    else:
        current_site_packages_dir = os.path.join(current_venv, 'lib', get_venv_from_python_version(), 'site-packages')
        venv_site_packages_dir = os.path.join(ve_path, 'lib', get_venv_from_python_version(), 'site-packages')
    if (not os.path.isdir(venv_site_packages_dir)):
        os.makedirs(venv_site_packages_dir)
    zappa_things = [z for z in os.listdir(current_site_packages_dir) if (z.lower()[:5] == 'zappa')]
    for z in zappa_things:
        copytree(os.path.join(current_site_packages_dir, z), os.path.join(venv_site_packages_dir, z))
    zappa_deps = self.get_deps_list('zappa')
    pkg_list = ['{0!s}=={1!s}'.format(dep, version) for (dep, version) in zappa_deps]
    pkg_list.append('setuptools')
    pip.main((['install', '--quiet', '--target', venv_site_packages_dir] + pkg_list))
    return ve_path
