<s> from __future__ import print_function <EOL> import subprocess <EOL> import sys <EOL> import os <EOL> import fileinput <EOL> import fnmatch <EOL> import warnings <EOL> BASE_DIR = os . path . dirname ( os . path . abspath ( __file__ ) ) <EOL> ROOT = os . path . abspath ( os . path . join ( BASE_DIR , "<STR_LIT:..>" , "<STR_LIT:..>" ) ) <EOL> sys . path . insert ( <NUM_LIT:0> , ROOT ) <EOL> sys . path . insert ( <NUM_LIT:0> , BASE_DIR ) <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> extensions = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' ] <EOL> templates_path = [ '<STR_LIT>' ] <EOL> source_suffix = '<STR_LIT>' <EOL> master_doc = '<STR_LIT:index>' <EOL> project = '<STR_LIT>' <EOL> copyright = '<STR_LIT>' <EOL> add_function_parentheses = True <EOL> add_module_names = True <EOL> pygments_style = '<STR_LIT>' <EOL> htmlhelp_basename = '<STR_LIT>' % project <EOL> git_cmd = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" ] <EOL> try : <EOL> html_last_updated_fmt = subprocess . Popen ( <EOL> git_cmd , stdout = subprocess . PIPE ) . communicate ( ) [ <NUM_LIT:0> ] <EOL> except Exception : <EOL> warnings . warn ( '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> latex_documents = [ <EOL> ( '<STR_LIT:index>' , <EOL> '<STR_LIT>' % project , <EOL> '<STR_LIT>' % project , <EOL> '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] </s>
