summaryrefslogtreecommitdiff
path: root/docutils/install.py
blob: be9ed238b401784250bf6e2974316cadc418d99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
# $Id$

"""
This is a quick & dirty installation shortcut. It is equivalent to the
command::

    python setup.py install

However, the shortcut lacks error checking!
"""

from distutils import core
from setup import do_setup

if __name__ == '__main__' :
    core._setup_stop_after = 'config'
    dist = do_setup()
    dist.commands = ['install']
    dist.run_commands()