Revision 1da2bd108d1fd1d0700b86b8f139a889dcb17771 authored by Alon Zakai on 09 May 2016, 22:03:49 UTC, committed by Alon Zakai on 09 May 2016, 22:03:49 UTC
1 parent f8e0b7d
Raw File
emconfigure
#!/usr/bin/env python

# This script should work in python 2 *or* 3. It loads emconfigure.py, which needs python 2.


import sys



if sys.version_info.major == 2:
  import emconfigure
  if __name__ == '__main__':
    emconfigure.run()
else:
  import os, subprocess
  if __name__ == '__main__':
    sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emconfigure.py')] + sys.argv[1:]))
back to top