PluginProjectWeb.py

branch
eric7
changeset 44
7d124a753853
parent 43
2bed42620c99
child 46
81fc3aacee19
equal deleted inserted replaced
43:2bed42620c99 44:7d124a753853
11 import os 11 import os
12 12
13 from PyQt6.QtCore import QObject, QTranslator 13 from PyQt6.QtCore import QObject, QTranslator
14 from PyQt6.QtWidgets import QMenu 14 from PyQt6.QtWidgets import QMenu
15 15
16 from EricWidgets.EricApplication import ericApp 16 from eric7.EricWidgets.EricApplication import ericApp
17 17
18 import Preferences 18 from eric7 import Preferences
19 19
20 try: 20 try:
21 from bs4 import BeautifulSoup # __IGNORE_EXCEPTION__ 21 from bs4 import BeautifulSoup # __IGNORE_EXCEPTION__
22 22
23 BeautifulSoupAvailable = True 23 BeautifulSoupAvailable = True
28 # Start-Of-Header 28 # Start-Of-Header
29 name = "Generic Web Project Plug-in" 29 name = "Generic Web Project Plug-in"
30 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 30 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
31 autoactivate = True 31 autoactivate = True
32 deactivateable = True 32 deactivateable = True
33 version = "10.0.0" 33 version = "10.1.0"
34 className = "ProjectWebPlugin" 34 className = "ProjectWebPlugin"
35 packageName = "ProjectWeb" 35 packageName = "ProjectWeb"
36 shortDescription = "Support for Web projects and web related tools." 36 shortDescription = "Support for Web projects and web related tools."
37 longDescription = ( 37 longDescription = (
38 """This plug-in provides support for ordinary web projects and some web""" 38 """This plug-in provides support for ordinary web projects and some web"""
89 # it is not registered for a specific programming language 89 # it is not registered for a specific programming language
90 self.__ericProject.registerProjectType( 90 self.__ericProject.registerProjectType(
91 "Web", self.tr("Web"), self.fileTypesCallback 91 "Web", self.tr("Web"), self.fileTypesCallback
92 ) 92 )
93 93
94 from Project.ProjectBrowser import ( 94 from eric7.Project.ProjectBrowser import (
95 SourcesBrowserFlag, 95 SourcesBrowserFlag,
96 FormsBrowserFlag, 96 FormsBrowserFlag,
97 OthersBrowserFlag, 97 OthersBrowserFlag,
98 ) 98 )
99 99

eric ide

mercurial