U
    ui	                     @   s\   d dl m Z  d dlmZ zd dlmZ W n ek
r<   Y nX ddddddddddZdS )	   )	autoparse)automain)	autoasyncNF)descriptionepilogadd_nosparserloopforever	pass_loopc          	         s.   t rtd fdd}|S )Nz+autocommand requires a module name argumentc                    sN   d k	ssr,t | dkr d nd} t|  d} t| } | S )NT)r	   r   r
   )r   r   r   r   )r   r   r   )funcr   r   r   r
   r	   moduler   r    N/tmp/pip-unpacked-wheel-9osl9suo/setuptools/_vendor/autocommand/autocommand.pyautocommand_decorator'   s     	z*autocommand.<locals>.autocommand_decorator)callable	TypeError)	r   r   r   r   r   r	   r
   r   r   r   r   r   autocommand   s    
r   )r   r   r   ImportErrorr   r   r   r   r   <module>   s   