(environment)
| 63 | |
| 64 | # create virtual environment for python 2 |
| 65 | def create_py2_venv(environment): |
| 66 | dir_name = 'py2test-' + environment |
| 67 | pip_location = dir_name + '/bin/pip' |
| 68 | |
| 69 | delete_directory_if_exists(dir_name) |
| 70 | os.system('virtualenv ' + dir_name) # this creates the virtual environment |
| 71 | install_dependency_packages(pip_location) |
| 72 | install_storage_package(pip_location, environment) |
| 73 | return dir_name + '/bin/python' |
| 74 | |
| 75 | |
| 76 | # create virtual environment for python 3 |
no test coverage detected