ryry-cli 2.46__tar.gz → 2.48__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 (28) hide show
  1. {ryry_cli-2.46 → ryry_cli-2.48}/PKG-INFO +1 -1
  2. ryry_cli-2.48/ryry/constant.py +5 -0
  3. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/ryry_widget.py +2 -18
  4. {ryry_cli-2.46 → ryry_cli-2.48}/ryry_cli.egg-info/PKG-INFO +1 -1
  5. {ryry_cli-2.46 → ryry_cli-2.48}/setup.py +1 -1
  6. ryry_cli-2.46/ryry/constant.py +0 -5
  7. {ryry_cli-2.46 → ryry_cli-2.48}/LICENSE +0 -0
  8. {ryry_cli-2.46 → ryry_cli-2.48}/README.md +0 -0
  9. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/__init__.py +0 -0
  10. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/main.py +0 -0
  11. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/ryry_server_socket.py +0 -0
  12. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/ryry_service.py +0 -0
  13. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/ryry_webapi.py +0 -0
  14. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/script_template/__init__.py +0 -0
  15. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/script_template/main.py +0 -0
  16. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/script_template/run.py +0 -0
  17. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/server_func.py +0 -0
  18. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/store.py +0 -0
  19. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/task.py +0 -0
  20. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/taskUtils.py +0 -0
  21. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/upload.py +0 -0
  22. {ryry_cli-2.46 → ryry_cli-2.48}/ryry/utils.py +0 -0
  23. {ryry_cli-2.46 → ryry_cli-2.48}/ryry_cli.egg-info/SOURCES.txt +0 -0
  24. {ryry_cli-2.46 → ryry_cli-2.48}/ryry_cli.egg-info/dependency_links.txt +0 -0
  25. {ryry_cli-2.46 → ryry_cli-2.48}/ryry_cli.egg-info/entry_points.txt +0 -0
  26. {ryry_cli-2.46 → ryry_cli-2.48}/ryry_cli.egg-info/requires.txt +0 -0
  27. {ryry_cli-2.46 → ryry_cli-2.48}/ryry_cli.egg-info/top_level.txt +0 -0
  28. {ryry_cli-2.46 → ryry_cli-2.48}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.46
3
+ Version: 2.48
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -0,0 +1,5 @@
1
+ #!!!!! do not change this file !!!!!
2
+ app_version="2.48"
3
+ app_bulld_number=248
4
+ app_bulld_anchor="Noh_2024-09-02 12:57:05.977803"
5
+ app_name="ryry-cli"
@@ -39,21 +39,6 @@ def compare_versions(version1, version2):
39
39
  return 1
40
40
  return 0
41
41
 
42
- def _remote_package_version(py_package):
43
- remote_version = ""
44
- for pip in ["pip3","pip"]:
45
- result = subprocess.run(f"pip index versions {py_package} -i https://pypi.python.org/simple/",
46
- stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
47
- ss = result.stdout.decode(encoding="utf8", errors="ignore").split("\n")
48
- for s in ss:
49
- if "LATEST:" in s.strip():
50
- remote_version = s.replace("LATEST:", "").strip()
51
- break
52
- else:
53
- continue
54
- break
55
- return remote_version
56
-
57
42
  #real time version get
58
43
  def _local_package_version(py_package):
59
44
  _map = store.widgetMap()
@@ -358,7 +343,7 @@ def widgetInstallNotify(widgetName, newver):
358
343
 
359
344
  def pipReInstall(name, url):
360
345
  def find_pip_command():
361
- possible_pips = ['pip', 'pip3']
346
+ possible_pips = ['pip3.11', 'pip', 'pip3']
362
347
  for cmd in possible_pips:
363
348
  pip_path = shutil.which(cmd)
364
349
  if pip_path:
@@ -427,5 +412,4 @@ def installWidget(name):
427
412
  widgetInstallNotify(name, remote_version)
428
413
  addWidgetToEnv(name)
429
414
  else:
430
- print(f"本地已是最新版本 {remote_version}")
431
-
415
+ print(f"本地已是最新版本 {remote_version}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.46
3
+ Version: 2.48
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.46"
6
+ ryry_version = "2.48"
7
7
  ryry_build_number = int(ryry_version.replace(".",""))
8
8
  cur_dir = os.path.dirname(os.path.abspath(__file__))
9
9
  constanspy = os.path.join(cur_dir, "ryry", "constant.py")
@@ -1,5 +0,0 @@
1
- #!!!!! do not change this file !!!!!
2
- app_version="2.46"
3
- app_bulld_number=246
4
- app_bulld_anchor="Noh_2024-09-02 12:32:14.910188"
5
- app_name="ryry-cli"
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