<s> import datetime <EOL> import os <EOL> PROJECT_NAME = "<STR_LIT>" <EOL> AUTHOR = "<STR_LIT>" <EOL> THIS_YEAR = str ( datetime . datetime . now ( ) . year ) <EOL> HERE = os . path . abspath ( os . path . dirname ( __file__ ) ) <EOL> def get_version ( ) : <EOL> INIT = os . path . abspath ( os . path . join ( HERE , '<STR_LIT>' ) ) <EOL> with open ( INIT , '<STR_LIT:r>' ) as f : <EOL> for line in f : <EOL> if line . startswith ( '<STR_LIT>' ) : <EOL> ret = eval ( line . strip ( ) . split ( '<STR_LIT>' ) [ <NUM_LIT:1> ] ) <EOL> assert ret . count ( '<STR_LIT:.>' ) == <NUM_LIT:2> , ret <EOL> for num in ret . split ( '<STR_LIT:.>' ) : <EOL> assert num . isdigit ( ) , ret <EOL> return ret <EOL> else : <EOL> raise ValueError ( "<STR_LIT>" ) <EOL> VERSION = get_version ( ) <EOL> needs_sphinx = '<STR_LIT:1.0>' <EOL> extensions = [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] <EOL> templates_path = [ '<STR_LIT>' ] <EOL> source_suffix = '<STR_LIT>' <EOL> master_doc = '<STR_LIT:index>' <EOL> project = PROJECT_NAME <EOL> copyright = '<STR_LIT>' % ( THIS_YEAR , AUTHOR ) <EOL> version = VERSION <EOL> exclude_patterns = [ '<STR_LIT>' ] <EOL> add_function_parentheses = True <EOL> autodoc_docstring_signature = True <EOL> pygments_style = '<STR_LIT>' <EOL> html_theme = '<STR_LIT>' <EOL> html_theme_options = { '<STR_LIT>' : True } <EOL> html_theme_path = [ "<STR_LIT>" ] <EOL> html_title = "<STR_LIT>" . format ( ** locals ( ) ) <EOL> html_favicon = '<STR_LIT>' <EOL> html_static_path = [ '<STR_LIT>' ] <EOL> html_last_updated_fmt = '<STR_LIT>' <EOL> html_use_smartypants = True <EOL> html_sidebars = { <EOL> '<STR_LIT:index>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] <EOL> } <EOL> html_domain_indices = False <EOL> html_use_index = True <EOL> htmlhelp_basename = '<STR_LIT>' % PROJECT_NAME <EOL> latex_documents = [ <EOL> ( '<STR_LIT:index>' , '<STR_LIT>' % PROJECT_NAME , <EOL> '<STR_LIT>' % PROJECT_NAME , AUTHOR ) , <EOL> ] <EOL> man_pages = [ <EOL> ( '<STR_LIT:index>' , PROJECT_NAME , '<STR_LIT>' % PROJECT_NAME , [ AUTHOR ] , <NUM_LIT:1> ) <EOL> ] </s>
