sphinx/sphinx-build.py
2007-07-23 09:02:25 +00:00

21 lines
438 B
Python

# -*- coding: utf-8 -*-
"""
Sphinx - Python documentation toolchain
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: 2007 by Georg Brandl.
:license: Python license.
"""
import sys
if __name__ == '__main__':
from sphinx import main
try:
sys.exit(main(sys.argv))
except Exception:
import traceback
traceback.print_exc()
import pdb
pdb.post_mortem(sys.exc_traceback)