ó
mÜJ]c           @` s   d  Z  d d l m Z m Z m Z m Z d d l Z e j e ƒ Z	 d
 Z
 d „  Z d „  Z d d l m Z e ƒ  d	 Z [ d S(   u[   Provide a version for the Bokeh library.

This module uses `versioneer`_ to manage version strings. During development,
`versioneer`_ will compute a version string from the current git revision.
For packaged releases based off tags, the version string is hard coded in the
files packaged for distribution.

Attributes:
    __version__:
        The full version string for this installed Bokeh library

Functions:
    base_version:
        Return the base version string, without any "dev", "rc" or local build
        information appended.

.. _versioneer: https://github.com/warner/python-versioneer

i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsNu   base_versionc           C` s
   t  t ƒ S(   N(   t   _base_version_helpert   __version__(    (    (    s1   lib/python2.7/site-packages/bokeh/util/version.pyt   base_version9   s    c         C` s1   d d  l  } | j d ƒ } | j |  ƒ j d ƒ S(   Ni    u   ^(\d+\.\d+\.\d+)((?:dev|rc).*)?i   (   t   ret   compilet   searcht   group(   t   versionR   t   VERSION_PAT(    (    s1   lib/python2.7/site-packages/bokeh/util/version.pyR   <   s    i   (   t   get_versionsu   version(   u   base_version(   t   __doc__t
   __future__R    R   R   R   t   loggingt	   getLoggert   __name__t   logt   __all__R   R   t   _versionR   R   (    (    (    s1   lib/python2.7/site-packages/bokeh/util/version.pyt   <module>   s   "		