o
    ¤pfÔ  ã                   @   s$   d dl Z d dlZd dlZdd„ ZdS )é    Nc                 C   sP   t j t  ¡ | ¡}t j |¡}t j ||¡}tj |¡}t	j
 | |¡ ¡ |¡S )z0Loads a config from the filesystem, given a path)ÚosÚpathÚjoinÚgetcwdÚdirnameÚrelpathÚfsÚosfsÚOSFSÚtilekilnÚconfigÚConfigÚopenÚread)r   Ú	full_pathÚ	root_pathÚconfig_pathÚ
filesystem© r   úJ/home/ertert/spirit/venv/lib/python3.10/site-packages/tilekiln/__init__.pyÚload_config	   s   ÿr   )r   Úfs.osfsr   Útilekiln.configr   r   r   r   r   r   Ú<module>   s    