old_contents: import os
  
  __version__ = (0, 0, 1, 'alpha', 1)
  
  FP_MAIN_TEMPLATE_DIR = os.path.join(
      os.path.dirname(os.path.abspath(__file__))
  )
  
new_contents: import os
  
  __version__ = (0, 0, 1, 'alpha', 1)
  
  
  def get_fancypages_paths(path):
      return [os.path.join(os.path.dirname(os.path.abspath(__file__)), path)]
  
subject: Bring path function in line with oscar fancypages