1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
U
G=®d ã@s<dZddlZddlmZddlmZmZGdd„deƒZdS)z€distutils.command.install_data
 
Implements the Distutils 'install_data' command, for installing
platform-independent data files.éN)ÚCommand)Ú change_rootÚ convert_pathc@sHeZdZdZdddgZdgZdd„Zdd    „Zd
d „Zd d „Z    dd„Z
dS)Ú install_datazinstall data files)z install-dir=ÚdzIbase directory for installing data files (default: installation base dir))zroot=Nz<install everything relative to this alternate root directory)ÚforceÚfz-force installation (overwrite existing files)rcCs,d|_g|_d|_d|_|jj|_d|_dS)Nré)Ú install_dirÚoutfilesÚrootrÚ distributionÚ
data_filesÚwarn_dir©Úself©rúaD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\setuptools/_distutils/command/install_data.pyÚinitialize_optionss 
zinstall_data.initialize_optionscCs| dddd¡dS)NÚinstall)rr
)r r )rr)Úset_undefined_optionsrrrrÚfinalize_options#s
ýzinstall_data.finalize_optionscCsú| |j¡|jD]â}t|tƒrbt|ƒ}|jrB| d||jf¡| ||j¡\}}|j     
|¡qt|dƒ}t j   |¡sŒt j  |j|¡}n|jržt|j|ƒ}| |¡|dgkrÂ|j     
|¡q|dD](}t|ƒ}| ||¡\}}|j     
|¡qÊqdS)NzMsetup script did not provide a directory for '%s' -- installing right in '%s'rr    )Úmkpathr
rÚ
isinstanceÚstrrrÚwarnÚ    copy_filer ÚappendÚosÚpathÚisabsÚjoinr r)rrÚoutÚ_ÚdirÚdatarrrÚrun*s, 
 
þ   
  zinstall_data.runcCs
|jpgS©N)rrrrrÚ
get_inputsKszinstall_data.get_inputscCs|jSr')r rrrrÚ get_outputsNszinstall_data.get_outputsN) Ú__name__Ú
__module__Ú __qualname__Ú descriptionÚ user_optionsÚboolean_optionsrrr&r(r)rrrrr sú    !r)Ú__doc__rÚdistutils.corerÚdistutils.utilrrrrrrrÚ<module>s