Second version of patch #108.
[docutils.git] / install.py
blob1a71e433fabbb8bd3850e5541897cea1433797b3
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 """
19 from distutils import core
20 from setup import do_setup
22 if __name__ == '__main__' :
23 print __doc__
24 core._setup_stop_after = 'config'
25 dist = do_setup()
26 dist.commands = ['install']
27 dist.run_commands()