tap2deb 574 B

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