commit 8a7cb3243262de01bce555944c598ccf58174ffd
parent 1fc23c6fe1e0caeb7d298c7871e8828313da619c
Author: thomasv <thomasv@gitorious>
Date: Tue, 14 Feb 2012 15:56:01 +0100
display message if icons_rc is not found
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/client/gui_qt.py b/client/gui_qt.py
@@ -7,7 +7,12 @@ from PyQt4.QtCore import *
import PyQt4.QtCore as QtCore
import PyQt4.QtGui as QtGui
-import icons_rc
+try:
+ import icons_rc
+except:
+ print "could not import icons_rp.py"
+ print "generate it with: 'pyrcc4 icons.qrc -o icons_rc.py'"
+ sys.exit(1)
from wallet import format_satoshis
from decimal import Decimal
diff --git a/client/setup.py b/client/setup.py
@@ -1,6 +1,5 @@
#!/usr/bin/python
-# pyrcc4 icons.qrc -o icons_rc.py
# python setup.py sdist --format=zip,gztar
from distutils.core import setup