Release 1.3
[zeroinstall.git] / 0launch
blobad6d221a0c91dcee0782de4bdfcef70e1b603a9e
1 #!/usr/bin/env python
2 import sys
3 if sys.version_info[0] > 2:
4 import os
5 os.execvp("python2", ["python2"] + sys.argv)
7 import locale
8 from logging import warn
9 try:
10 locale.setlocale(locale.LC_ALL, '')
11 except locale.Error:
12 warn('Error setting locale (eg. Invalid locale)')
14 ## PATH ##
16 from zeroinstall.injector import cli
17 import sys
18 cli.main(sys.argv[1:])