Add a ton of default values

This commit is contained in:
Ebag333
2017-02-09 00:56:33 -08:00
parent f2c84692a9
commit 7865219164
27 changed files with 104 additions and 7 deletions

View File

@@ -59,6 +59,7 @@ if not hasattr(sys, 'frozen'):
try:
import wxversion
except ImportError:
wxversion = None
print("Cannot find wxPython\nYou can download wxPython (2.8+) from http://www.wxpython.org/")
sys.exit(1)
@@ -86,6 +87,8 @@ if not hasattr(sys, 'frozen'):
"You can download sqlalchemy (0.5.8+) from http://www.sqlalchemy.org/".format(sqlalchemy.__version__))
sys.exit(1)
else:
if not sqlalchemy:
sqlalchemy = None
print("Unknown sqlalchemy version string format, skipping check")
except ImportError:
@@ -97,6 +100,7 @@ if not hasattr(sys, 'frozen'):
# noinspection PyPackageRequirements
import dateutil.parser # noqa - Copied import statement from service/update.py
except ImportError:
dateutil = None
print("Cannot find python-dateutil.\nYou can download python-dateutil from https://pypi.python.org/pypi/python-dateutil")
sys.exit(1)