PluginProjectDjango.py

branch
eric7
changeset 181
2f5c3487139c
parent 180
64339135bd61
child 186
bd5621e752ca
equal deleted inserted replaced
180:64339135bd61 181:2f5c3487139c
5 5
6 """ 6 """
7 Module implementing the Django project plugin. 7 Module implementing the Django project plugin.
8 """ 8 """
9 9
10 import fnmatch
11 import glob
10 import os 12 import os
11 import glob
12 import fnmatch
13 13
14 from PyQt6.QtCore import QCoreApplication, QObject, QTranslator 14 from PyQt6.QtCore import QCoreApplication, QObject, QTranslator
15 15
16 from EricWidgets.EricApplication import ericApp 16 from eric7 import Preferences
17 17 from eric7.EricWidgets.EricApplication import ericApp
18 import Preferences 18 from eric7.Globals import isWindowsPlatform, isMacPlatform
19
20 from Globals import isWindowsPlatform, isMacPlatform
21 19
22 from ProjectDjango.Project import Project 20 from ProjectDjango.Project import Project
23 21
24 # Start-of-Header 22 # Start-of-Header
25 name = "Django Project Plugin" 23 name = "Django Project Plugin"
26 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 24 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
27 autoactivate = True 25 autoactivate = True
28 deactivateable = True 26 deactivateable = True
29 version = "10.0.1" 27 version = "10.1.0"
30 className = "ProjectDjangoPlugin" 28 className = "ProjectDjangoPlugin"
31 packageName = "ProjectDjango" 29 packageName = "ProjectDjango"
32 shortDescription = "Project support for Django projects." 30 shortDescription = "Project support for Django projects."
33 longDescription = """This plugin implements project support for Django projects.""" 31 longDescription = """This plugin implements project support for Django projects."""
34 needsRestart = False 32 needsRestart = False
197 lexerAssociationCallback=self.lexerAssociationCallback, 195 lexerAssociationCallback=self.lexerAssociationCallback,
198 binaryTranslationsCallback=self.binaryTranslationsCallback, 196 binaryTranslationsCallback=self.binaryTranslationsCallback,
199 progLanguages=self.__supportedVariants[:], 197 progLanguages=self.__supportedVariants[:],
200 ) 198 )
201 199
202 from Project.ProjectBrowser import ( 200 from eric7.Project.ProjectBrowser import (
203 SourcesBrowserFlag, 201 SourcesBrowserFlag,
204 FormsBrowserFlag, 202 FormsBrowserFlag,
205 TranslationsBrowserFlag, 203 TranslationsBrowserFlag,
206 OthersBrowserFlag, 204 OthersBrowserFlag,
207 ) 205 )

eric ide

mercurial