U
    Š¾úg‡  ã                   @   s   d dl Z dd„ ZdS )é    Nc                 C   sb   | d dkrt dƒ‚t| dd… ƒ|g } tj tj t¡¡\}}tj |d¡}tjj|f| žŽ S )a  Return the complete file name for the module

    dir_comps : list of string
        The list of directory names in the PyCryptodome package.
        The first element must be "Cryptodome".

    filename : string
        The filename (inclusing extension) in the target directory.
    r   Z
Cryptodomez-Only available for modules under 'Cryptodome'é   Nz..)Ú
ValueErrorÚlistÚosÚpathÚsplitÚabspathÚ__file__Újoin)Z	dir_compsÚfilenameZutil_libÚ_Zroot_lib© r   ú@/tmp/pip-unpacked-wheel-_q8s9isk/Cryptodome/Util/_file_system.pyÚpycryptodome_filename"   s    r   )r   r   r   r   r   r   Ú<module>   s   