관리-도구
편집 파일: python-config.cpython-37.opt-1.pyc
B � f� � @ s d dl Z d dlZd dlZd dlZdddddddd d dg Zd+d d�Zy e � ejdd� de�\ZZW n e j k r~ e� Y nX es�e� e� d�Zej Zdd� eD �Z de kr�ed d� �xHe D �]>Zedkr�ee� d�� q�edkr�ee� d�� q�edk�rJde�d� de�d� gZedk�r:e�ed��� � ed�e�� q�edk�r�d e ej gZeed!��� 7 Zeed"��� 7 Zed#k�r�ed$��s�e�d d%ed&� � ed�e�� q�ed'k�r�ee� d(�� q�ed)k�r�eej� q�ed*kr�ee� d&�� q�W dS ),� N�prefixzexec-prefixZincludes�libsZcflagsZldflagszextension-suffix�help�abiflagsZ configdir� c C s: t d�tjd d�dd� tD ���tjd� t�| � d S )NzUsage: {0} [{1}]r �|c s s | ]}d | V qdS )z--N� )�.0�optr r �>/opt/alt/python37/lib64/python3.7/config-3.7m/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 � ZVERSIONc C s g | ]\}}|�qS r r )r �flag�valr r r � <listcomp> s r z--help)r z--prefixz --exec-prefix�exec_prefix)z --includesz--cflagsz-IZincludeZplatincludez--cflagsZCFLAGS� )z--libsz --ldflagsz-lpythonZLIBSZSYSLIBSz --ldflagsZPy_ENABLE_SHAREDz-LZLIBPLz--extension-suffixZ EXT_SUFFIXz --abiflagsz--configdir)r )Zgetopt�osr Z sysconfigr r r Zopts�args�errorZget_config_varZpyverZgetvarZ opt_flagsr r Zget_path�flags�extend�splitr r r �insertr r r r �<module> sT