File: pype.pyw

package info (click to toggle)
pype 2.9.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,292 kB
  • sloc: python: 13,861; makefile: 11
file content (14 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

'''
This software is licensed under the GPL (GNU General Public License) version 2
as it appears here: http://www.gnu.org/copyleft/gpl.html
It is also included with this archive as `gpl.txt <gpl.txt>`_.
'''


import sys
import imp

if __name__ == '__main__':
    sys.modules['notmain'] = sys.modules['__main__']
    sys.modules['__main__'] = imp.load_source('__main__', 'pype.py', open('pype.py'))