
    c                    J    d Z ddlmZ ddlmZ ddlmZ  G d de          ZdS )	zSource for pytool.toml files.    )annotations)Path   )	PyProjectc                  D    e Zd ZU dZded<   ded<   ded<   ded<   d
dZd	S )PyToolz\Source for pytool.toml files.

    Uses platformdirs to find configuration directories.
    strdescriptiontoolnamer   filec                    ddl }t          |                                          dz  | _        d| _        || _        d| d| d| _        dS )zInitialize the TOML configuration.

        :param tool: name of your tool. Will read configuration from [tool.yourtool]
        r   Nzpytool.tomla  
        The pytool.toml file is found at

        Mac OS X:               ~/Library/Application Support/pytool.toml
        Unix:                   ~/.config/pytool.toml     # or in $XDG_CONFIG_HOME,
                                if defined
        Win *:                  C:\Users\<username>\AppData\Local\pytool.toml
        It is configured in the same fashion as your pyproject.toml.
        Configuration for z is found in the [tool.z] table.
        )platformdirsr   user_config_dirr   r   r   r
   )selfr   r   s      ;lib/python3.11/site-packages/pytoolconfig/sources/pytool.py__init__zPyTool.__init__   sq    
 	557788=H	!			  	 	 9=	 	 	    N)r   r	   )__name__
__module____qualname____doc____annotations__r    r   r   r   r   	   s]          
 IIIIIIJJJ     r   r   N)r   
__future__r   pathlibr   	pyprojectr   r   r   r   r   <module>r      su    # # " " " " " "                      Y     r   