
    q"h                     X   S SK r S SKrS SKJrJrJr  \R                  " S5      R                  5       r   SS\	S\\\	      S\
S\
S\\	   4
S	 jjrS\	S\\	   S
\\	   S\	S\\	   4
S jrS\	S\\	   S\\	   4S jrS\	S\\	   S\
S\\	   S\\	   S\
S\\	   4S jrS\	S\\	   S\
S\\	   4S jrg)    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"))
    setup_py_pathglobal_optionsno_user_configunbuffered_outputreturnc                     [         R                  /nU(       a  US/-  nUS[        R                  U 5      /-  nU(       a  XA-  nU(       a  US/-  nU$ )aS  
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	   argss        V/var/www/html/env/lib/python3.13/site-packages/pip/_internal/utils/setuptools_build.pymake_setuptools_shim_argsr   2   sY     NNDT#**=9::D!!K    build_optionsdestination_dirc                 2    [        XSS9nUSSU/-  nXB-  nU$ )NTr   r	   bdist_wheelz-dr   )r   r   r   r   r   s        r    make_setuptools_bdist_wheel_argsr   L   s3     %D 	]D/22DDKr   c                 (    [        XSS9nUSS/-  nU$ )NTr   cleanz--allr   )r   r   r   s      r   make_setuptools_clean_argsr   ^   s)     %D 	WgDKr   prefixhomeuse_user_sitec                    U(       a	  U(       a   e[        U UUS9nUSS/-  nU(       a  USU/-  nUb  USU/-  nU(       a  USS/-  nU$ )N)r   r   developz	--no-depsz--prefixz--install-dirz--userz	--prefix=r   )r   r   r   r   r   r    r   s          r   make_setuptools_develop_argsr#   i   sq     &))$%%D 	Y$$DV$$$'';''Kr   egg_info_dirc                 @    [        XS9nUS/-  nU(       a  USU/-  nU$ )N)r   egg_infoz
--egg-baser   )r   r$   r   r   s       r   make_setuptools_egg_info_argsr'      s1    
 %]RDZLD|,,Kr   )NFF)r   textwraptypingr   r   r   dedentrstripr   strboolr   r   r   r#   r'    r   r   <module>r/      sp   
  + +
 ??%'N 	&(O X /3 #	Xc]+  	
 
#Y4SM C= 	
 
#Y$SM 
#Y SM 	
 SM 3-  
#Y<3-  
#Y	r   