ryry-cli 2.88__tar.gz → 2.90__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.
Files changed (27) hide show
  1. {ryry-cli-2.88/ryry_cli.egg-info → ryry-cli-2.90}/PKG-INFO +1 -1
  2. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/constant.py +2 -2
  3. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/ryry_webapi.py +3 -0
  4. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/ryry_widget.py +8 -10
  5. {ryry-cli-2.88 → ryry-cli-2.90/ryry_cli.egg-info}/PKG-INFO +1 -1
  6. {ryry-cli-2.88 → ryry-cli-2.90}/setup.py +1 -1
  7. {ryry-cli-2.88 → ryry-cli-2.90}/LICENSE +0 -0
  8. {ryry-cli-2.88 → ryry-cli-2.90}/README.md +0 -0
  9. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/__init__.py +0 -0
  10. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/main.py +0 -0
  11. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/ryry_server_socket.py +0 -0
  12. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/ryry_service.py +0 -0
  13. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/script_template/__init__.py +0 -0
  14. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/script_template/main.py +0 -0
  15. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/script_template/run.py +0 -0
  16. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/server_func.py +0 -0
  17. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/store.py +0 -0
  18. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/task.py +0 -0
  19. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/taskUtils.py +0 -0
  20. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/upload.py +0 -0
  21. {ryry-cli-2.88 → ryry-cli-2.90}/ryry/utils.py +0 -0
  22. {ryry-cli-2.88 → ryry-cli-2.90}/ryry_cli.egg-info/SOURCES.txt +0 -0
  23. {ryry-cli-2.88 → ryry-cli-2.90}/ryry_cli.egg-info/dependency_links.txt +0 -0
  24. {ryry-cli-2.88 → ryry-cli-2.90}/ryry_cli.egg-info/entry_points.txt +0 -0
  25. {ryry-cli-2.88 → ryry-cli-2.90}/ryry_cli.egg-info/requires.txt +0 -0
  26. {ryry-cli-2.88 → ryry-cli-2.90}/ryry_cli.egg-info/top_level.txt +0 -0
  27. {ryry-cli-2.88 → ryry-cli-2.90}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.88
3
+ Version: 2.90
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -1,6 +1,6 @@
1
1
  #!!!!! do not change this file !!!!!
2
- app_version="2.88"
3
- app_bulld_anchor="Noh_2025-02-08 11:55:33.954153"
2
+ app_version="2.90"
3
+ app_bulld_anchor="Noh_2025-02-08 17:52:12.505553"
4
4
  app_name="ryry-cli"
5
5
  import sys, os
6
6
  if getattr(sys, 'frozen', False):
@@ -23,10 +23,13 @@ def _domain_post(func, params, files={}, timeout=10, domain="api.dalipen.com"):
23
23
  return 0, "", result_data.get("data", "")
24
24
  else:
25
25
  return result_data.get("code", -1), result_data.get("msg", "Unknown error"), ""
26
+ print(f"HTTP {res.status_code}: {res.text}")
26
27
  return -99, f"HTTP {res.status_code}: {res.text}", ""
27
28
  except requests.RequestException as e:
29
+ print(f"request {func} RequestException! {e}")
28
30
  return -99, f"request {func} RequestException!", ""
29
31
  except Exception as e:
32
+ print(f"request {func} Exception! {e}")
30
33
  return -99, f"request {func} Exception!", ""
31
34
 
32
35
  def _aigc_post(func, params, files={}, timeout=10):
@@ -375,22 +375,20 @@ def UpdateWidgetFromPypi():
375
375
  print(ex)
376
376
  continue
377
377
  for widget_id, widget_name, remote_version, package_url, is_install in ryry_webapi.getAutoDeployWidget():
378
- if widget_id not in _map:
379
- try:
378
+ try:
379
+ if widget_id not in _map and is_install:
380
380
  local_version, local_path = _local_package_info(widget_name)
381
381
  widgetReInstall(widget_name, package_url, local_path)
382
382
  widgetInstallNotify(widget_name, remote_version)
383
383
  addWidgetToEnv(widget_name)
384
- print(f"auto install ${widget_name}")
385
- except Exception as ex:
386
- print(ex)
387
- continue
388
- else:
389
- is_block = _map[widget_id]["isBlock"]
390
- if is_install == False:
391
- print(f"auto remove ${widget_name}")
384
+ print(f"auto install {widget_name}")
385
+ elif is_install == False:
386
+ print(f"auto remove {widget_name}")
392
387
  widgetUninstall(widget_name, package_url)
393
388
  store.removeWidget(widget_id)
389
+ except Exception as ex:
390
+ print(ex)
391
+ continue
394
392
 
395
393
  def installWidget(name):
396
394
  widgetid, remote_version, package_url = ryry_webapi.findWidget(name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.88
3
+ Version: 2.90
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -3,7 +3,7 @@ import os
3
3
  import subprocess
4
4
  import datetime
5
5
 
6
- ryry_version = "2.88"
6
+ ryry_version = "2.90"
7
7
  cur_dir = os.path.dirname(os.path.abspath(__file__))
8
8
  constanspy = os.path.join(cur_dir, "ryry", "constant.py")
9
9
  try:
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