403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.156
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/pythran/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/pythran/__pycache__/run.cpython-310.pyc
o

�@�a��@spdZddlZddlZddlZddlZddlZddlmZe�d�Z	dd�Z
dd�Zd	d
�Ze
dkr6e�dSdS)zG Script to run Pythran file compilation with specified g++ like flags. �N)�CompileError�pythranccs$�|��D]
}|��sq|VqdS)z*Read argument from file in a prettier way.N)�split�strip)�arg_line�arg�r�-/usr/lib/python3/dist-packages/pythran/run.py�convert_arg_line_to_argss��r
cCsH|j|j|j|j|j|j|jd�}dD]}t||d�}|r!|||<q|S)z�
    Build a dictionnary with an entry for cppflags, ldflags, and cxxflags.

    These options are filled according to the command line defined options

    )�
define_macros�undef_macros�include_dirs�extra_compile_args�library_dirs�extra_link_args�config)�optsN)�defines�undefsr
�extra_flags�
libraries_dirr�getattr)�args�compiler_options�param�valrrr	�
compile_flagss	�	�rc
Cs�d}tjdkr|d7}tjddd|dd�}|jd	td
d�|jdd
tdd�|jddddd�|jddddd�|jddddd�|jddddd�|jdddd d�|jd!d"d#tjjd$�|jd%d&d'd(d)t	�d*�|jd+d,d-d(d.t	�d*�|jd/d0d1d(d2t	�d*�|jd3d4d5d(d6t	�d*�|jd7d8d5d(d9t	�d*�|jd:d;d;d(d<t	�d*�t
|_
|�tj
d=d��\}}||_|jr�d>|_|j�d?�|jr�|jr�t�d@�t�d=�|jr�t�tj�|jr�t�tj�|jr�tj�tjj|j�|j�r|j�stj�tjj�zntj �!|j"��st#dA�$|j"���tj �%tj �&|j"��\}}|dBv�r-t'dC�$|���|dDk�r\|j(�r>t#dE�$|j"���|j�rJt#dF�$|j"���tj)||j"|j*fit+|���WdStj,|j"f|j*|j|j(dG�t+|���WdSt-�y�}zt�dHt|��t�d=�WYd}~dSd}~wt#�y�}zt�dIt|��t�d=�WYd}~dSd}~wtj.j/j0�y�}zt�dJt|��t�d=�WYd}~dSd}~wtj1j2�y�}zt�dKt|��t�d=�WYd}~dSd}~wt3�y}zt�dLt|��t�d=�WYd}~dSd}~wt4�y)t�dM��t5�yJ}zt�dNt|��t�d=�WYd}~dSd}~ww)ON�-�nt�/rz!pythran: a python to C++ compilerzIt's a megablast!�@)�prog�description�epilog�prefix_chars�fromfile_prefix_chars�
input_filez:the pythran module to compile, either a .py or a .cpp file)�type�helpz-o�output_filez'path to generated file. Honors %%{ext}.)�destr'r(z-P�
optimize_only�
store_truez1only run the high-level optimizer, do not compile)r*�actionr(z-E�translate_onlyz'only run the translator, do not compilez-e�raw_translate_onlyz0similar to -E, but does not generate python gluez-v�verbosezbe more verbosez-w�warn_offzbe less verbosez-Vz	--version�version)r-r2z-pr�pass�appendz8any pythran optimization to apply before code generation)r*�metavarr-r(�defaultz-Ir
�include_dirz7any include dir relevant to the underlying C++ compilerz-Lr�ldflagsz%any search dir relevant to the linkerz-Dr�macro_definitionz<any macro definition relevant to the underlying C++ compilerz-Urz7any macro undef relevant to the underlying C++ compilerz--configrzconfig additional params�T�ENABLE_PYTHON_MODULEz.Unexpected combination: -w and -v? Daoubennek?zinput file `{0}' not found)�.cppz.pyz!Unsupported file extension: '{0}'r<zEDo you really ask for Python-to-Python on this C++ input file: '{0}'?zBDo you really ask for Python-to-C++ on this C++ input file: '{0}'?)r)�cpponly�pyonlyz(I've got a bad feeling about this...
E: z%Chair to keyboard interface error
E: zYou shall not pass!
E: zQI am in trouble. Your input file does not seem to match Pythran's constraints...
z%Cover me Jack. Jack? Jaaaaack!!!!
E: zyMAYDAY, MAYDAY, MAYDAY; pythran compiler; code area out of control
E: not implemented feature needed, bash the developerszGBy Jove! Your environment does not seem to provide all what we need
E: )6�os�name�argparse�ArgumentParser�add_argument�strrr2�__version__�listr
�parse_known_args�sys�argvrr/r.rr4r0r1�logger�critical�exit�setLevel�logging�INFO�ERRORr�
update_cfg�cfg�lint_cfg�path�existsr&�
ValueError�format�splitext�basename�SyntaxErrorr+�compile_cxxfiler)r�compile_pythranfile�IOError�types�tog�PythranTypeError�syntax�PythranSyntaxErrorr�NotImplementedError�EnvironmentError)r$�parserr�extra�module_name�ext�errr	�run2s4
��
�
�
�
�
�
��
�
�
�
�
�
�

�

������
������������
���rj�__main__)�__doc__rArNr?rHr�distutils.errorsr�	getLoggerrJr
rrj�__name__rrrr	�<module>s
&
�

Youez - 2016 - github.com/yon3zu
LinuXploit