diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-02-12 01:14:55 +0300 |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-02-12 01:14:55 +0300 |
commit | 5e94cf8968b559320bd152609a62b59a113342ed (patch) | |
tree | f6b7136f82d8eba4ac76512943b64829310c88c1 | |
parent | 532e6db1f0d4f8ae9cc8a8d54cfa70ef3e98682a (diff) | |
download | sphinx-5e94cf8968b559320bd152609a62b59a113342ed.tar.gz |
Make 'python -m sphinx' possible
-rw-r--r-- | sphinx/__main__.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sphinx/__main__.py b/sphinx/__main__.py new file mode 100644 index 00000000..ee8419b7 --- /dev/null +++ b/sphinx/__main__.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +""" + Sphinx + ~~~~~~ + + The Sphinx documentation toolchain. + + :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" +import sys +from sphinx import main + +sys.exit(main(sys.argv)) |