2010-10-04 08:42:38 -05:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
import os.path as op
|
2010-10-05 02:27:32 -05:00
|
|
|
import subprocess
|
2010-10-04 08:42:38 -05:00
|
|
|
|
|
|
|
def main():
|
|
|
|
scriptpath = op.abspath(__file__)
|
|
|
|
scriptfolder = op.dirname(scriptpath)
|
2010-10-05 02:27:32 -05:00
|
|
|
newenv = {'PYTHONPATH': scriptfolder}
|
|
|
|
subprocess.Popen([sys.executable, '-m', 'qt.{{edition}}.start'], env=newenv)
|
2010-10-04 08:42:38 -05:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
sys.exit(main())
|