Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-39.pyc
Ðазад
a "�h� � @ s� d dl Z d dlZd dlmZmZmZ e�d��� Zde eee e e ee d�dd�Ze ee ee e ee d�d d �Ze ee ee d�dd �Z e ee e ee ee e ee d�dd�Ze ee e ee d�dd�ZdS )� N)�List�Optional�Sequencea� exec(compile(''' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn't think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '-c' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize, traceback try: import setuptools except ImportError: print( "ERROR: Can not execute `setup.py` since setuptools failed to import in " "the build environment with exception:", file=sys.stderr, ) traceback.print_exc() sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) ''' % ({!r},), "<pip-setuptools-caller>", "exec")) F)� setup_py_path�global_options�no_user_config�unbuffered_output�returnc C sF t jg}|r|dg7 }|dt�| �g7 }|r4||7 }|rB|dg7 }|S )ao Get setuptools command arguments with shim wrapped setup file invocation. :param setup_py_path: The path to setup.py to be wrapped. :param global_options: Additional global options. :param no_user_config: If True, disables personal user configuration. :param unbuffered_output: If True, adds the unbuffered switch to the argument list. z-uz-cz --no-user-cfg)�sys� executable�_SETUPTOOLS_SHIM�format)r r r r �args� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pip/_internal/utils/setuptools_build.py�make_setuptools_shim_args2 s r )r r � build_options�destination_dirr c C s( t | |dd�}|dd|g7 }||7 }|S )NT�r r �bdist_wheelz-d�r )r r r r r r r r � make_setuptools_bdist_wheel_argsL s �r )r r r c C s t | |dd�}|ddg7 }|S )NTr �cleanz--allr )r r r r r r �make_setuptools_clean_args^ s �r )r r r �prefix�home� use_user_siter c C s^ |r|rJ �t | ||d�}|ddg7 }|r6|d|g7 }|d urJ|d|g7 }|rZ|ddg7 }|S )N)r r �developz --no-depsz--prefixz --install-dirz--userz --prefix=r )r r r r r r r r r r �make_setuptools_develop_argsi s �r )r �egg_info_dirr r c C s* t | |d�}|dg7 }|r&|d|g7 }|S )N)r �egg_infoz --egg-baser )r r r r r r r �make_setuptools_egg_info_args� s r! )NFF)r �textwrap�typingr r r �dedent�rstripr �str�boolr r r r r! r r r r �<module> sL �, � �����
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка