Lines Matching full:environment
2 Virtual environment (venv) package for Python. Based on PEP 405.
22 This class exists to allow virtual environment creation to be
24 behaviour when called upon to create a virtual environment.
27 *un*available to the created environment.
35 :param clear: If True, delete the contents of the environment directory if
36 it already exists, before environment creation.
38 virtual environment.
39 :param upgrade: If True, upgrade an existing virtual environment.
41 environment
42 :param prompt: Alternative terminal prefix for the environment.
61 Create a virtual environment in a directory.
63 :param env_dir: The target directory to create an environment in.
97 Create the directories for the environment.
99 Returns a context object which holds paths in the environment,
146 # environment, in case it isn't simply the executable script (e.g. bpo-45337)
153 logger.warning('Actual environment location may have moved due to '
163 Create a configuration file indicating where the environment's Python
165 available in the environment.
167 :param context: The information for the environment creation request
247 Set up a Python executable in the environment.
249 :param context: The information for the environment creation request
307 """Installs or upgrades pip in a virtual environment"""
309 # environment vars, the current directory and anything else
310 # intended for the global Python environment
317 Set up scripts into the created environment from a directory.
319 This method installs the default scripts into the environment
335 :param context: The information for the environment creation request
348 :param context: The information for the environment creation request
360 Install scripts into the created environment from a directory.
362 :param context: The information for the environment creation request
367 being run on, are installed in the created environment.
368 Placeholder variables are replaced with environment-
419 """Create a virtual environment in a directory."""
441 epilog='Once an environment has been '
447 help='A directory to create the environment in.')
450 help='Give the virtual environment access to the '
469 'environment directory if it '
471 'environment creation.')
473 dest='upgrade', help='Upgrade the environment '
480 'virtual environment (pip is bootstrapped '
484 'this environment.')