Submit
Path:
~
/
/
opt
/
alt
/
python36
/
lib
/
python3.6
/
site-packages
/
setuptools
/
command
/
__pycache__
/
File Content:
build_clib.cpython-36.pyc
3 <�Re� � @ sF d dl jjZd dlmZ d dlmZ d dlm Z G dd� dej�ZdS )� N)�DistutilsSetupError)�log)�newer_pairwise_groupc @ s e Zd ZdZdd� ZdS )� build_clibav Override the default build_clib behaviour to do the following: 1. Implement a rudimentary timestamp-based dependency system so 'compile()' doesn't run every time. 2. Add more keys to the 'build_info' dictionary: * obj_deps - specify dependencies for each object compiled. this should be a dictionary mapping a key with the source filename to a list of dependencies. Use an empty string for global dependencies. * cflags - specify a list of additional flags to pass to the compiler. c C s~ �xv|D �]l\}}|j d�}|d ks4t|ttf� r@td| ��t|�}tjd|� |j dt� �}t|t�sxtd| ��g }|j dt� �}t|ttf�s�td| ��xX|D ]P}|g} | j|� |j |t� �} t| ttf�s�td| ��| j| � |j | � q�W | j j|| jd�}t ||�g g fk�r^|j d�}|j d �} |j d �}| j j|| j|| || jd�}| j j||| j| jd� qW d S ) N�sourceszfin 'libraries' option (library '%s'), 'sources' must be present and must be a list of source filenameszbuilding '%s' library�obj_depsz\in 'libraries' option (library '%s'), 'obj_deps' must be a dictionary of type 'source: list'� )� output_dir�macros�include_dirs�cflags)r r r Zextra_postargs�debug)r r )�get� isinstance�list�tupler r �info�dict�extend�appendZcompilerZobject_filenamesZ build_tempr �compiler Zcreate_static_libr )�selfZ librariesZlib_nameZ build_infor r ZdependenciesZglobal_deps�sourceZsrc_depsZ extra_depsZexpected_objectsr r r Zobjects� r �/build_clib.py�build_libraries s` zbuild_clib.build_librariesN)�__name__� __module__�__qualname__�__doc__r r r r r r s r ) Zdistutils.command.build_clibZcommandr ZorigZdistutils.errorsr Z distutilsr Zsetuptools.dep_utilr r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-36.opt-1.pyc
646 bytes
0644
__init__.cpython-36.pyc
646 bytes
0644
alias.cpython-36.opt-1.pyc
2339 bytes
0644
alias.cpython-36.pyc
2339 bytes
0644
bdist_egg.cpython-36.opt-1.pyc
14320 bytes
0644
bdist_egg.cpython-36.pyc
14320 bytes
0644
bdist_rpm.cpython-36.opt-1.pyc
1682 bytes
0644
bdist_rpm.cpython-36.pyc
1682 bytes
0644
bdist_wininst.cpython-36.opt-1.pyc
883 bytes
0644
bdist_wininst.cpython-36.pyc
883 bytes
0644
build_clib.cpython-36.opt-1.pyc
2354 bytes
0644
build_clib.cpython-36.pyc
2354 bytes
0644
build_ext.cpython-36.opt-1.pyc
9923 bytes
0644
build_ext.cpython-36.pyc
9953 bytes
0644
build_py.cpython-36.opt-1.pyc
8478 bytes
0644
build_py.cpython-36.pyc
8478 bytes
0644
develop.cpython-36.opt-1.pyc
6332 bytes
0644
develop.cpython-36.pyc
6332 bytes
0644
dist_info.cpython-36.opt-1.pyc
1299 bytes
0644
dist_info.cpython-36.pyc
1299 bytes
0644
easy_install.cpython-36.opt-1.pyc
64809 bytes
0644
easy_install.cpython-36.pyc
64854 bytes
0644
egg_info.cpython-36.opt-1.pyc
20895 bytes
0644
egg_info.cpython-36.pyc
20895 bytes
0644
install.cpython-36.opt-1.pyc
3879 bytes
0644
install.cpython-36.pyc
3879 bytes
0644
install_egg_info.cpython-36.opt-1.pyc
2344 bytes
0644
install_egg_info.cpython-36.pyc
2344 bytes
0644
install_lib.cpython-36.opt-1.pyc
3953 bytes
0644
install_lib.cpython-36.pyc
3989 bytes
0644
install_scripts.cpython-36.opt-1.pyc
2184 bytes
0644
install_scripts.cpython-36.pyc
2184 bytes
0644
py36compat.cpython-36.opt-1.pyc
4529 bytes
0644
py36compat.cpython-36.pyc
4529 bytes
0644
register.cpython-36.opt-1.pyc
499 bytes
0644
register.cpython-36.pyc
499 bytes
0644
rotate.cpython-36.opt-1.pyc
2485 bytes
0644
rotate.cpython-36.pyc
2485 bytes
0644
saveopts.cpython-36.opt-1.pyc
830 bytes
0644
saveopts.cpython-36.pyc
830 bytes
0644
sdist.cpython-36.opt-1.pyc
6294 bytes
0644
sdist.cpython-36.pyc
6294 bytes
0644
setopt.cpython-36.opt-1.pyc
4508 bytes
0644
setopt.cpython-36.pyc
4508 bytes
0644
test.cpython-36.opt-1.pyc
8067 bytes
0644
test.cpython-36.pyc
8067 bytes
0644
upload.cpython-36.opt-1.pyc
1297 bytes
0644
upload.cpython-36.pyc
1297 bytes
0644
upload_docs.cpython-36.opt-1.pyc
5982 bytes
0644
upload_docs.cpython-36.pyc
6006 bytes
0644
N4ST4R_ID | Naxtarrr