More of: Disable import inspections for wxPython, because it's not installed traditionally and we can't include it in requirements.txt

This commit is contained in:
Ebag333
2017-02-08 20:16:58 -08:00
parent 6e524de320
commit 636474610b
9 changed files with 11 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ if not hasattr(sys, 'frozen'):
# check also for dateutil module installed.
try:
# noinspection PyPackageRequirements
import dateutil.parser # noqa - Copied import statement from service/update.py
except ImportError:
print("Cannot find python-dateutil.\nYou can download python-dateutil from https://pypi.python.org/pypi/python-dateutil")
@@ -120,6 +121,7 @@ if __name__ == "__main__":
logging.basicConfig()
# Import everything
# noinspection PyPackageRequirements
import wx
import os
import os.path