<s> import sys <EOL> import os <EOL> on_rtd = os . environ . get ( '<STR_LIT>' , None ) == '<STR_LIT:True>' <EOL> if not on_rtd : <EOL> import sphinx_rtd_theme <EOL> html_theme = '<STR_LIT>' <EOL> html_theme_path = [ sphinx_rtd_theme . get_html_theme_path ( ) ] <EOL> project = '<STR_LIT>' <EOL> packages = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> author = '<STR_LIT>' <EOL> copyright = '<STR_LIT>' <EOL> for package in packages : <EOL> sys . path . insert ( <NUM_LIT:0> , os . path . abspath ( '<STR_LIT>' . format ( package ) ) ) <EOL> sys . path . insert ( <NUM_LIT:0> , os . path . abspath ( '<STR_LIT:..>' ) ) <EOL> sys . path . insert ( <NUM_LIT:0> , os . path . abspath ( '<STR_LIT>' ) ) <EOL> extensions = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' <EOL> ] <EOL> templates_path = [ '<STR_LIT>' ] <EOL> source_suffix = '<STR_LIT>' <EOL> master_doc = '<STR_LIT:index>' <EOL> import pkg_resources <EOL> try : <EOL> release = pkg_resources . get_distribution ( project ) . version <EOL> except pkg_resources . DistributionNotFound : <EOL> print '<STR_LIT>' <EOL> print '<STR_LIT>' <EOL> print '<STR_LIT>' <EOL> print '<STR_LIT>' <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> except Exception as e : <EOL> print e <EOL> del pkg_resources <EOL> version = '<STR_LIT:.>' . join ( release . split ( '<STR_LIT:.>' ) [ : <NUM_LIT:2> ] ) <EOL> exclude_patterns = [ '<STR_LIT>' ] <EOL> pygments_style = '<STR_LIT>' <EOL> html_static_path = [ '<STR_LIT>' ] <EOL> htmlhelp_basename = '<STR_LIT>' . format ( project ) <EOL> latex_elements = { <EOL> } <EOL> latex_documents = [ <EOL> ( '<STR_LIT:index>' , '<STR_LIT>' . format ( project ) , u'<STR_LIT>' . format ( project ) , <EOL> u'<STR_LIT:{}>' . format ( author ) , '<STR_LIT>' ) , <EOL> ] <EOL> man_pages = [ <EOL> ( '<STR_LIT:index>' , project , u'<STR_LIT>' . format ( project ) , <EOL> [ u'<STR_LIT:{}>' . format ( author ) ] , <NUM_LIT:1> ) <EOL> ] <EOL> texinfo_documents = [ <EOL> ( '<STR_LIT:index>' , project , u'<STR_LIT>' . format ( project ) , <EOL> u'<STR_LIT:{}>' . format ( author ) , project , '<STR_LIT>' , <EOL> '<STR_LIT>' ) , <EOL> ] <EOL> autodoc_member_order = '<STR_LIT>' </s>
