13 |
13 |
14 from PyQt6.QtCore import QCoreApplication, QObject, QTranslator |
14 from PyQt6.QtCore import QCoreApplication, QObject, QTranslator |
15 |
15 |
16 from eric7 import Preferences |
16 from eric7 import Preferences |
17 from eric7.EricWidgets.EricApplication import ericApp |
17 from eric7.EricWidgets.EricApplication import ericApp |
18 from eric7.Globals import isWindowsPlatform, isMacPlatform |
18 |
|
19 try: |
|
20 from eric7.SystemUtilities.OSUtilities import isMacPlatform, isWindowsPlatform |
|
21 except ImportError: |
|
22 # imports for eric < 23.1 |
|
23 from eric7.Globals import isWindowsPlatform, isMacPlatform |
19 |
24 |
20 from ProjectDjango.Project import Project |
25 from ProjectDjango.Project import Project |
21 |
26 |
22 # Start-of-Header |
27 # Start-of-Header |
23 name = "Django Project Plugin" |
28 name = "Django Project Plugin" |
24 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
29 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
25 autoactivate = True |
30 autoactivate = True |
26 deactivateable = True |
31 deactivateable = True |
27 version = "10.2.0" |
32 version = "10.3.0" |
28 className = "ProjectDjangoPlugin" |
33 className = "ProjectDjangoPlugin" |
29 packageName = "ProjectDjango" |
34 packageName = "ProjectDjango" |
30 shortDescription = "Project support for Django projects." |
35 shortDescription = "Project support for Django projects." |
31 longDescription = """This plugin implements project support for Django projects.""" |
36 longDescription = """This plugin implements project support for Django projects.""" |
32 needsRestart = False |
37 needsRestart = False |