song: make keys case-insensitive
[nephilim.git] / nephilim.py
blobe0780cb2f1fa24aaa9a799856831b544482dd63d
1 #!/usr/bin/python
3 # nephilim.py
6 # Copyright (C) 2008 jerous <jerous@gmail.com>
7 # Copyright (C) 2009 Anton Khirnov <wyskas@gmail.com>
9 # Nephilim is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
14 # Nephilim is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with Nephilim. If not, see <http://www.gnu.org/licenses/>.
23 import sys
24 import logging
25 from traceback import print_exc
26 try:
27 import sip
28 sip.setapi('QString', 2)
29 from PyQt4 import QtGui
30 except ImportError:
31 sys.exit('PyQt4 not found. Ensure that it is installed.')
33 from nephilim.nephilim_app import NephilimApp
35 def main():
36 logging.basicConfig(level = logging.WARNING)
37 try:
38 app = NephilimApp(sys.argv)
40 app.exec_()
41 app.quit()
42 except Exception, e:
43 print_exc()
45 if __name__ == "__main__":
46 main()