pyhtmlizer 544 B

1234567891011121314151617
  1. #!/usr/bin/python
  2. # Copyright (c) 2001-2004 Twisted Matrix Laboratories.
  3. # See LICENSE for details.
  4. ### Twisted Preamble
  5. # This makes sure that users don't have to set up their environment
  6. # specially in order to run these programs from bin/.
  7. import sys, os, string
  8. if string.find(os.path.abspath(sys.argv[0]), os.sep+'Twisted') != -1:
  9. sys.path.insert(0, os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]), os.pardir, os.pardir)))
  10. sys.path.insert(0, os.curdir)
  11. ### end of preamble
  12. from twisted.scripts.htmlizer import run
  13. run()