B
    ‹æ@\Þ	  ã               @   s|   d dl mZmZmZmZ d dlZe e¡Zd dl	Z	d dl
mZmZmZmZmZmZ eeeeƒƒƒZdZdd„ Zd
dd	„ZdS )é    )Úabsolute_importÚdivisionÚprint_functionÚunicode_literalsN)ÚjoinÚdirnameÚabspathÚnormpathÚrealpathÚisdir)Ú	serverdirÚ
bokehjsdirc              C   s(   t tdƒ} t| ƒ} tjdkr$t| ƒ} | S )z/ Get the location of the server subpackage
    ZserverÚcygwin)r   ÚROOT_DIRr	   ÚsysÚplatformr
   )Úpath© r   ú/lib/python3.7/site-packages/bokeh/util/paths.pyr   ,   s
    

 r   Fc             C   s2   t tdddƒ}t tƒ dƒ}| r*t|ƒr*|S |S dS )z¦ Get the location of the bokehjs source files. If dev is True,
    the files in bokehjs/build are preferred. Otherwise uses the files
    in bokeh/server/static.
    z..ZbokehjsZbuildZstaticN)r   r   r   r   )ZdevZdir1Zdir2r   r   r   r   5   s
    r   )F)Z
__future__r   r   r   r   ZloggingZ	getLoggerÚ__name__Úlogr   Úos.pathr   r   r   r	   r
   r   Ú__file__r   Ú__all__r   r   r   r   r   r   Ú<module>   s   
 	