Added support for --command argument
[zeroinstall/solver.git] / 0solve
blobc2b3065b859635086a152c66cf8db7b2da55cbfc
1 #!/usr/bin/env python
3 import locale, logging
5 logging.basicConfig(format="%(levelname)s: %(message)s")
7 try:
8 locale.setlocale(locale.LC_ALL, '')
9 except locale.Error:
10 logging.warn('Error setting locale (eg. Invalid locale)')
12 from zeroinstall.injector import cli_solve
13 import sys
14 cli_solve.main(sys.argv[1:])