install.py 685 B

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