Fix LaTeX code for system messages.
[docutils.git] / docutils / install.py
blob0c5541274094985359cf677334f8d1ce46efba1a
1 #!/usr/bin/env python
2 # $Id$
3 # Copyright: This file has been placed in the public domain.
5 """
6 This is a quick & dirty installation shortcut. It is equivalent to the
7 command::
9 python setup.py install
11 However, the shortcut lacks error checking and command-line option
12 processing. If you need any kind of customization or help, please use
13 one of::
15 python setup.py install --help
16 python setup.py --help
17 """
18 from __future__ import print_function
20 from distutils import core
21 from setup import do_setup
23 if __name__ == '__main__':
24 print(__doc__)
25 core._setup_stop_after = 'config'
26 dist = do_setup()
27 dist.commands = ['install']
28 dist.run_commands()