#NEWLINE# def add_relative_to_current_source_file_path_to_sys_path( relpath ) : #NEWLINE# #INDENT# path = os . path . realpath ( os . path . abspath ( os . path . join ( os . path . split ( inspect . getfile ( inspect . currentframe ( ) ) ) [ 0 ] , relpath ) ) ) #NEWLINE# if ( relpath not in sys . path ) : #NEWLINE# #INDENT# sys . path . insert ( 0 , path )