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

Tue, 25 Oct 2022 10:48:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 25 Oct 2022 10:48:23 +0200
branch
eric7
changeset 65
2616383c037c
parent 64
ed43b7a17a8c
child 66
e3f6a3121656

Adapted the import statements to the new structure.

ChangeLog file | annotate | diff | comparison | revisions
PluginDjangoTagsMenu.epj file | annotate | diff | comparison | revisions
PluginProjectDjangoTagsMenu.py file | annotate | diff | comparison | revisions
PluginProjectDjangoTagsMenu.zip file | annotate | diff | comparison | revisions
ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py file | annotate | diff | comparison | revisions
diff -r ed43b7a17a8c -r 2616383c037c ChangeLog
--- a/ChangeLog	Wed Sep 21 16:39:46 2022 +0200
+++ b/ChangeLog	Tue Oct 25 10:48:23 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
 
diff -r ed43b7a17a8c -r 2616383c037c PluginDjangoTagsMenu.epj
--- a/PluginDjangoTagsMenu.epj	Wed Sep 21 16:39:46 2022 +0200
+++ b/PluginDjangoTagsMenu.epj	Tue Oct 25 10:48:23 2022 +0200
@@ -197,7 +197,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,
@@ -255,6 +255,7 @@
       "ProjectDjangoTagsMenu/i18n/djangotagsmenu_ru.ts"
     ],
     "TRANSLATIONSBINPATH": "",
+    "TRANSLATIONSOURCESTARTPATH": "",
     "UICPARAMS": {
       "Package": "",
       "PackagesRoot": "",
diff -r ed43b7a17a8c -r 2616383c037c PluginProjectDjangoTagsMenu.py
--- a/PluginProjectDjangoTagsMenu.py	Wed Sep 21 16:39:46 2022 +0200
+++ b/PluginProjectDjangoTagsMenu.py	Tue Oct 25 10:48:23 2022 +0200
@@ -13,7 +13,7 @@
 from PyQt6.QtCore import QObject, QTranslator
 from PyQt6.QtWidgets import QMenu
 
-from EricWidgets.EricApplication import ericApp
+from eric7.EricWidgets.EricApplication import ericApp
 
 from ProjectDjangoTagsMenu.DjangoTagsMenuHandler import DjangoTagsMenuHandler
 
@@ -22,7 +22,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "10.0.0"
+version = "10.1.0"
 className = "ProjectDjangoTagsMenuPlugin"
 packageName = "ProjectDjangoTagsMenu"
 shortDescription = "Tags menu for Django projects."
diff -r ed43b7a17a8c -r 2616383c037c PluginProjectDjangoTagsMenu.zip
Binary file PluginProjectDjangoTagsMenu.zip has changed
diff -r ed43b7a17a8c -r 2616383c037c ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py
--- a/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py	Wed Sep 21 16:39:46 2022 +0200
+++ b/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py	Tue Oct 25 10:48:23 2022 +0200
@@ -7,19 +7,18 @@
 Module implementing the Django tags menu handler.
 """
 
+import datetime
 import os
-import datetime
 
 from PyQt6.QtCore import QObject
 from PyQt6.QtWidgets import QMenu, QInputDialog, QDialog, QApplication
 
-from EricWidgets.EricApplication import ericApp
-from EricWidgets import EricFileDialog, EricMessageBox
+from eric7 import Utilities
+from eric7.EricWidgets import EricFileDialog, EricMessageBox
+from eric7.EricWidgets.EricApplication import ericApp
 
 from .DjangoTagInputDialog import DjangoTagInputDialog
 
-import Utilities
-
 
 class DjangoTagsMenuHandler(QObject):
     """

eric ide

mercurial