q2rad 0.1.158__tar.gz → 0.1.160__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of q2rad might be problematic. Click here for more details.
- {q2rad-0.1.158 → q2rad-0.1.160}/PKG-INFO +1 -1
- {q2rad-0.1.158 → q2rad-0.1.160}/pyproject.toml +1 -1
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2appmanager.py +2 -1
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2rad.py +7 -3
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2raddb.py +1 -1
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2reports.py +1 -1
- q2rad-0.1.160/q2rad/version.py +1 -0
- q2rad-0.1.158/q2rad/version.py +0 -1
- {q2rad-0.1.158 → q2rad-0.1.160}/LICENSE +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/README.md +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/__init__.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/__main__.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2market.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2stylesettings.py +0 -0
- {q2rad-0.1.158 → q2rad-0.1.160}/q2rad/q2utils.py +0 -0
|
@@ -233,7 +233,8 @@ class AppManager(Q2Form):
|
|
|
233
233
|
|
|
234
234
|
def reinstall(self):
|
|
235
235
|
if q2ask("You are about to reinstall platform packages?") == 2:
|
|
236
|
-
q2app.q2_app.update_packages(force=True)
|
|
236
|
+
# q2app.q2_app.update_packages(force=True)
|
|
237
|
+
q2app.q2_app.update_from_git(source="")
|
|
237
238
|
|
|
238
239
|
def update_from_git(self):
|
|
239
240
|
if q2ask("You are about to reinstall platform packages from github.com! Are you sure?") == 2:
|
|
@@ -681,7 +681,7 @@ class Q2RadApp(Q2App):
|
|
|
681
681
|
if upgraded:
|
|
682
682
|
self.restart()
|
|
683
683
|
|
|
684
|
-
def update_from_git(self, package=""):
|
|
684
|
+
def update_from_git(self, package="", source="git"):
|
|
685
685
|
if os.path.isfile("poetry.lock"):
|
|
686
686
|
q2mess("poetry.lock presents - update from git is impossible!")
|
|
687
687
|
return
|
|
@@ -692,6 +692,11 @@ class Q2RadApp(Q2App):
|
|
|
692
692
|
trm = Q2Terminal(callback=callback)
|
|
693
693
|
executable = sys.executable.replace("w.exe", ".exe")
|
|
694
694
|
w = Q2WaitShow(len(q2_modules))
|
|
695
|
+
_source_suffix = ""
|
|
696
|
+
_source_postfix = ""
|
|
697
|
+
if source == "git":
|
|
698
|
+
_source_suffix = "git+https://github.com/AndreiPuchko/"
|
|
699
|
+
_source_postfix = ".git"
|
|
695
700
|
for package in q2_modules:
|
|
696
701
|
if w.step(package):
|
|
697
702
|
break
|
|
@@ -701,7 +706,7 @@ class Q2RadApp(Q2App):
|
|
|
701
706
|
continue
|
|
702
707
|
trm.run(
|
|
703
708
|
f"{executable} -m pip install --upgrade --force-reinstall --no-deps"
|
|
704
|
-
f"
|
|
709
|
+
f" {_source_suffix}{package}{_source_postfix}"
|
|
705
710
|
)
|
|
706
711
|
if trm.exit_code != 0:
|
|
707
712
|
q2mess(f"Error occured while updateing <b>{package}</b>! See output for details.")
|
|
@@ -725,7 +730,6 @@ class Q2RadApp(Q2App):
|
|
|
725
730
|
"pip",
|
|
726
731
|
"install",
|
|
727
732
|
"--upgrade",
|
|
728
|
-
"--force-reinstall",
|
|
729
733
|
"--no-cache-dir",
|
|
730
734
|
f"{package}=={latest_version}",
|
|
731
735
|
],
|
|
@@ -26,7 +26,7 @@ from q2rad.q2queries import Q2QueryEdit
|
|
|
26
26
|
from q2rad.q2raddb import q2cursor
|
|
27
27
|
from q2rad.q2utils import Q2_save_and_run
|
|
28
28
|
from q2gui import q2app
|
|
29
|
-
from q2gui.q2dialogs import Q2WaitShow,
|
|
29
|
+
from q2gui.q2dialogs import Q2WaitShow, q2WaitMax, q2WaitStep, q2working
|
|
30
30
|
import json
|
|
31
31
|
import os
|
|
32
32
|
import gettext
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.160"
|
q2rad-0.1.158/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.158"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|