Adapted the import statements to the new structure. eric7 release-10.1.0

Tue, 25 Oct 2022 08:38:28 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 25 Oct 2022 08:38:28 +0200
branch
eric7
changeset 44
7d124a753853
parent 43
2bed42620c99
child 45
b323edb5ff3d

Adapted the import statements to the new structure.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectWeb.py file | annotate | diff | comparison | revisions
PluginProjectWeb.zip file | annotate | diff | comparison | revisions
PluginWeb.epj file | annotate | diff | comparison | revisions
ProjectWeb/Html5Prettifier.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Wed Sep 21 15:36:01 2022 +0200
+++ b/ChangeLog	Tue Oct 25 08:38:28 2022 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 10.1.0
+- adapted the import statements to the new structure
+
 Version 10.0.0:
 - first release of the eric7 variant
 
--- a/PluginProjectWeb.py	Wed Sep 21 15:36:01 2022 +0200
+++ b/PluginProjectWeb.py	Tue Oct 25 08:38:28 2022 +0200
@@ -13,9 +13,9 @@
 from PyQt6.QtCore import QObject, QTranslator
 from PyQt6.QtWidgets import QMenu
 
-from EricWidgets.EricApplication import ericApp
+from eric7.EricWidgets.EricApplication import ericApp
 
-import Preferences
+from eric7 import Preferences
 
 try:
     from bs4 import BeautifulSoup  # __IGNORE_EXCEPTION__
@@ -30,7 +30,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "10.0.0"
+version = "10.1.0"
 className = "ProjectWebPlugin"
 packageName = "ProjectWeb"
 shortDescription = "Support for Web projects and web related tools."
@@ -91,7 +91,7 @@
             "Web", self.tr("Web"), self.fileTypesCallback
         )
 
-        from Project.ProjectBrowser import (
+        from eric7.Project.ProjectBrowser import (
             SourcesBrowserFlag,
             FormsBrowserFlag,
             OthersBrowserFlag,
Binary file PluginProjectWeb.zip has changed
--- a/PluginWeb.epj	Wed Sep 21 15:36:01 2022 +0200
+++ b/PluginWeb.epj	Tue Oct 25 08:38:28 2022 +0200
@@ -193,7 +193,7 @@
     ],
     "OTHERTOOLSPARMS": {
       "Black": {
-        "exclude": "/(\\.direnv|\\.eggs|\\.git|\\.hg|\\.mypy_cache|\\.nox|\\.tox|\\.venv|venv|\\.svn|_build|buck-out|build|dist|__pypackages__)/",
+        "exclude": "/(\\.direnv|\\.eggs|\\.git|\\.hg|\\.mypy_cache|\\.nox|\\.tox|\\.venv|venv|\\.svn|\\.ipynb_checkpoints|_build|buck-out|build|dist|__pypackages__)/",
         "extend-exclude": "",
         "force-exclude": "",
         "line-length": 88,
@@ -249,6 +249,7 @@
       "ProjectWeb/i18n/web_ru.ts"
     ],
     "TRANSLATIONSBINPATH": "",
+    "TRANSLATIONSOURCESTARTPATH": "",
     "UICPARAMS": {
       "Package": "",
       "PackagesRoot": "",
--- a/ProjectWeb/Html5Prettifier.py	Wed Sep 21 15:36:01 2022 +0200
+++ b/ProjectWeb/Html5Prettifier.py	Tue Oct 25 08:38:28 2022 +0200
@@ -11,7 +11,7 @@
 
 from PyQt6.QtCore import QObject
 
-import Preferences
+from eric7 import Preferences
 
 
 class Html5Prettifier(QObject):

eric ide

mercurial