4 # Add ZIP library to search path in case of direct launch without py2exe
5 libraryZip
= os
.path
.join(os
.path
.dirname(sys
.argv
[0]), 'library.zip')
6 if os
.path
.exists(libraryZip
):
7 sys
.path
.append(libraryZip
)
11 logging
.basicConfig(format
="%(levelname)s: %(message)s")
14 locale
.setlocale(locale
.LC_ALL
, '')
16 logging
.warn('Error setting locale (eg. Invalid locale)')
18 from zeroinstall
.injector
import cli_solve
19 cli_solve
.main(sys
.argv
[1:])