ensurepip.version() Returns a string specifying the bundled version of pip that will be installed when bootstrapping an environment
ensure_directories(env_dir) Creates the environment directory and all necessary directories, and returns a context object. This
setup_scripts(context) Installs activation scripts appropriate to the platform into the virtual environment.
The distutils package provides support for building and installing additional modules into a Python installation. The new modules may be either 100%-pure Python
venv.create(env_dir, system_site_packages=False, clear=False, symlinks=False, with_pip=False) Create an EnvBuilder
install_scripts(context, path) path is the path to a directory that should contain subdirectories “common”, “posix”
class venv.EnvBuilder(system_site_packages=False, clear=False, symlinks=False, upgrade=False, with_pip=False) The EnvBuilder
create_configuration(context) Creates the pyvenv.cfg configuration file in the environment.
setup_python(context) Creates a copy of the Python executable (and, under Windows, DLLs) in the environment. On a POSIX system
create(env_dir) This method takes as required argument the path (absolute or relative to the current directory) of the target
Page 1 of 2