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