1# Add the current directory to the end of sys.path 2# to ensure that an installed version of sage is used first. 3import sys 4 5current_dir = sys.path.pop(0) 6sys.path.append(current_dir) 7 8from sage_docbuild.__main__ import main 9 10if __name__ == "__main__": 11 main() 12 13