5 |
5 |
6 """ |
6 """ |
7 Module implementing the Plugin installation dialog. |
7 Module implementing the Plugin installation dialog. |
8 """ |
8 """ |
9 |
9 |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
10 from __future__ import unicode_literals |
11 |
11 |
12 import os |
12 import os |
13 import sys |
13 import sys |
14 import shutil |
14 import shutil |
15 import zipfile |
15 import zipfile |
16 import compileall |
16 import compileall |
17 import glob |
17 import glob |
18 try: # Py3 |
18 try: # Py3 |
19 import urllib.parse as parse |
19 import urllib.parse as parse |
20 except (ImportError): |
20 except (ImportError): |
21 import urlparse as parse |
21 import urlparse as parse # __IGNORE_WARNING__ |
22 |
22 |
23 from PyQt4.QtCore import pyqtSlot, Qt, QDir, QFileInfo |
23 from PyQt4.QtCore import pyqtSlot, Qt, QDir, QFileInfo |
24 from PyQt4.QtGui import QWidget, QDialogButtonBox, QAbstractButton, \ |
24 from PyQt4.QtGui import QWidget, QDialogButtonBox, QAbstractButton, \ |
25 QApplication, QDialog, QVBoxLayout |
25 QApplication, QDialog, QVBoxLayout |
26 |
26 |