setup_scripts(context) Installs activation scripts appropriate to the platform into the virtual environment.
ensure_directories(env_dir) Creates the environment directory and all necessary directories, and returns a context object. This
ensurepip.version() Returns a string specifying the bundled version of pip that will be installed when bootstrapping an 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
install_scripts(context, path) path is the path to a directory that should contain subdirectories “common”, “posix”
venv.create(env_dir, system_site_packages=False, clear=False, symlinks=False, with_pip=False) Create an EnvBuilder
class venv.EnvBuilder(system_site_packages=False, clear=False, symlinks=False, upgrade=False, with_pip=False) The EnvBuilder
setup_python(context) Creates a copy of the Python executable (and, under Windows, DLLs) in the environment. On a POSIX system
create_configuration(context) Creates the pyvenv.cfg configuration file in the environment.
ensurepip.bootstrap(root=None, upgrade=False, user=False, altinstall=False, default_pip=False, verbosity=0) Bootstraps pip
Page 1 of 2