Your IP : 3.135.186.233
3
� f � @ s( d dl Z d dlZd dlZd dlZdddddddd d
dg
Zd-d
d�Zy e j ejdd� de�\ZZW n e j k
r~ e� Y nX es�e� ej
d�Zej
Zdd� eD �Z
de
kr�ed d� �xfe
D �]\Zedkr�eej
d�� q�edk� r�eej
d�� q�ed.k�rLdejd� dejd� gZedk�r<ejed�j� � edje�� q�ed/k�r�d!e ej gZeed"�j� 7 Zeed#�j� 7 Zed k�r�ed$��s�ejd d%ed&� � ed'��s�ejed(�j� � edje�� q�ed)k�r�eej
d*�� q�ed+k�r
eej� q�ed,kr�eej
d&�� q�W dS )0� N�prefixzexec-prefixZincludes�libsZcflagsZldflagszextension-suffix�help�abiflagsZ configdir� c C s: t djtjd djdd� tD ���tjd� tj| � d S )NzUsage: {0} [{1}]r �|c s s | ]}d | V qdS )z--N� )�.0�optr r �>/opt/alt/python36/lib64/python3.6/config-3.6m/python-config.py� <genexpr> s z"exit_with_usage.<locals>.<genexpr>)�file)�print�format�sys�argv�join�
valid_opts�stderr�exit)�coder r r �exit_with_usage s &r � �VERSIONc C s g | ]\}}|�qS r r )r �flag�valr r r �
<listcomp> s r z--help)r z--prefixz
--exec-prefix�exec_prefix�
--includes�--cflagsz-I�include�platinclude�CFLAGS� �--libs� --ldflagsz-lpython�LIBS�SYSLIBS�Py_ENABLE_SHAREDz-L�LIBPL�PYTHONFRAMEWORK�
LINKFORSHAREDz--extension-suffix�
EXT_SUFFIXz
--abiflagsz--configdir)r )r r )r$ r% )Zgetopt�osr � sysconfigr r r Zopts�args�error�get_config_varZpyverZgetvarZ opt_flagsr
r �get_path�flags�extend�splitr r r �insertr r r r �<module> sX