tap2rpm 536 B

1234567891011121314151617
  1. #!/usr/bin/python
  2. # based off the tap2deb code
  3. # tap2rpm built by Sean Reifschneider, <jafo@tummy.com>
  4. """tap2rpm"""
  5. ### Twisted Preamble
  6. # This makes sure that users don't have to set up their environment
  7. # specially in order to run these programs from bin/.
  8. import sys, os, string
  9. if string.find(os.path.abspath(sys.argv[0]), os.sep+'Twisted') != -1:
  10. sys.path.insert(0, os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]), os.pardir, os.pardir)))
  11. ### end of preamble
  12. from twisted.scripts import tap2rpm
  13. tap2rpm.run()