Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
build_clib.cpython-313.pyc35 linesDownload Raw Back to __pycache__
1�

2`j���p�SSKJr SSKJr SSKJs Jr SSKJ	r	 SSK3Jr "SS\R5rg)	�)�Distribution)�newer_pairwise_group�N)�log)�DistutilsSetupErrorc�.�\rSrSr%Sr\\S'SSjrSrg)�4build_clib�	aF5Override the default build_clib behaviour to do the following:6 71. Implement a rudimentary timestamp-based dependency system8   so 'compile()' doesn't run every time.92. Add more keys to the 'build_info' dictionary:10    * obj_deps - specify dependencies for each object compiled.11                 this should be a dictionary mapping a key12                 with the source filename to a list of13                 dependencies. Use an empty string for global14                 dependencies.15    * cflags   - specify a list of additional flags to pass to16                 the compiler.17�distributionNc18��UGH?up#URS5nUb[U[[45(d[	SUS35e[[U55n[R"SU5 URS[55n[U[5(d[	SUS35e/nURS[55n[U[[45(d[	SUS35eUH}nU/n	U	RU5 URU[55n19[U20[[45(d[	SUS35eU	RU215 URU	5 M URRUURS9n[Xk5//4:waeURS	5nURS225n
URS5nURRUURUU
UUR S9 URR#X�UR$UR S
9 GMB g)N�sourcesz in 'libraries' option (library 'zD'), 'sources' must be present and must be a list of source filenameszbuilding '%s' library�obj_depsz:'), 'obj_deps' must be a dictionary of type 'source: list'�)�23output_dir�macros�include_dirs�cflags)rrr�extra_postargs�debug)rr)�get�24isinstance�list�tupler�sortedr�info�dict�extend�append�compiler�object_filenames�25build_tempr�compiler�create_static_libr	)�self�	libraries�lib_name�26build_infor
r�dependencies�global_deps�source�src_deps�27extra_deps�expected_objectsrrrs               �OD:\code\apps\devtools\python\Lib\site-packages\setuptools/command/build_clib.py�build_libraries�build_clib.build_librariess7��$-� �H� �n�n�Y�/�G���j��4��-�&H�&H�)�6�x�j�A1�1���28�T�'�]�+�G��H�H�,�h�7�29"�~�~�j�$�&�9�H��h��-�-�)�6�x�j�A*�*���30�L�#�,�,�r�4�6�2�K��k�D�%�=�9�9�)�6�x�j�A*�*���"��"�8������,�%�\�\�&�$�&�9�31�!�*�t�U�m�<�<�-�:�8�*�E.�.���32���33�+��#�#�H�-�"� $�}�}�=�=���?�?� >� ��34$�L�C��B�x�O�$����1��)�~�~�n�=��#����1���
�
�%�%��#���!�!-�#)��*�*�
&��
�M�M�+�+� �t���d�j�j�
,�
�S%.��)�returnN)	�__name__�35__module__�__qualname__�__firstlineno__�__doc__r�__annotations__r/�__static_attributes__r2r1r.r	r		s��
���Lr1r	)�distr�modifiedr�distutils.command.build_clib�commandr	�orig�	distutilsr�distutils.errorsrr2r1r.�<module>rBs)���+�+�+��0�^����^r1
codekingpro/portable-devtools · Team Ai