MCPcopy Create free account
hub / github.com/Azure/azure-storage-python / create_py3_venv

Function create_py3_venv

validate_packages.py:77–85  ·  view source on GitHub ↗
(environment)

Source from the content-addressed store, hash-verified

75
76# create virtual environment for python 3
77def create_py3_venv(environment):
78 dir_name = 'py3test-' + environment
79 pip_location = dir_name + '/bin/pip'
80
81 delete_directory_if_exists(dir_name)
82 os.system('python3 -m venv ' + dir_name) # this creates the virtual environment
83 install_dependency_packages(pip_location)
84 install_storage_package(pip_location, environment)
85 return dir_name + '/bin/python'
86
87
88# kicks off the entire test suite

Callers 1

Calls 3

install_storage_packageFunction · 0.85

Tested by

no test coverage detected