Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (13 sloc) 513 Bytes
#!/usr/bin/env python
import os
import runpy
PKG = 'pagekite'
run_globals = runpy.run_module(PKG, run_name='__main__', alter_sys=True)
executed = os.path.splitext(os.path.basename(run_globals['__file__']))[0]
if executed != '__main__': # For Python 2.5 compatibility
raise ImportError('Incorrectly executed %s instead of __main__' %
except ImportError:
# For Python 2.6 compatibility
runpy.run_module('%s.__main__' % PKG, run_name='__main__', alter_sys=True)
Something went wrong with that request. Please try again.