ryry-cli 2.0__tar.gz → 2.1__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.0/ryry_cli.egg-info → ryry_cli-2.1}/PKG-INFO +1 -1
  2. ryry_cli-2.1/ryry/constant.py +5 -0
  3. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/ryry_widget.py +3 -3
  4. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/server_func.py +2 -2
  5. {ryry_cli-2.0 → ryry_cli-2.1/ryry_cli.egg-info}/PKG-INFO +1 -1
  6. {ryry_cli-2.0 → ryry_cli-2.1}/setup.py +2 -2
  7. ryry_cli-2.0/ryry/constant.py +0 -5
  8. {ryry_cli-2.0 → ryry_cli-2.1}/LICENSE +0 -0
  9. {ryry_cli-2.0 → ryry_cli-2.1}/README.md +0 -0
  10. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/__init__.py +0 -0
  11. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/main.py +0 -0
  12. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/ryry_server_socket.py +0 -0
  13. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/ryry_service.py +0 -0
  14. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/ryry_webapi.py +0 -0
  15. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/script_template/__init__.py +0 -0
  16. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/script_template/main.py +0 -0
  17. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/script_template/run.py +0 -0
  18. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/store.py +0 -0
  19. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/task.py +0 -0
  20. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/taskUtils.py +0 -0
  21. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/upload.py +0 -0
  22. {ryry_cli-2.0 → ryry_cli-2.1}/ryry/utils.py +0 -0
  23. {ryry_cli-2.0 → ryry_cli-2.1}/ryry_cli.egg-info/SOURCES.txt +0 -0
  24. {ryry_cli-2.0 → ryry_cli-2.1}/ryry_cli.egg-info/dependency_links.txt +0 -0
  25. {ryry_cli-2.0 → ryry_cli-2.1}/ryry_cli.egg-info/entry_points.txt +0 -0
  26. {ryry_cli-2.0 → ryry_cli-2.1}/ryry_cli.egg-info/requires.txt +0 -0
  27. {ryry_cli-2.0 → ryry_cli-2.1}/ryry_cli.egg-info/top_level.txt +0 -0
  28. {ryry_cli-2.0 → ryry_cli-2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.0
3
+ Version: 2.1
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.1"
3
+ app_bulld_number=21
4
+ app_bulld_anchor="Noh_2024-05-24 16:29:00.913157"
5
+ app_name="ryry-cli"
@@ -115,7 +115,7 @@ def setWidgetData(root, widgetid):
115
115
  data = GetWidgetConfig(root)
116
116
  data["widget_id"] = widgetid
117
117
  data["name"] = "Demo"
118
- data["version"] = "2.0"
118
+ data["version"] = "2.1"
119
119
  data["device_keys"] = [
120
120
  utils.generate_unique_id()
121
121
  ]
@@ -159,7 +159,7 @@ def addWidgetToEnv(root, mute=False):
159
159
  local_version = package.version
160
160
  name = package.project_name
161
161
  version = package.version
162
- root = os.path.join(package.location, name)
162
+ root = os.path.join(package.location, name.replace("-", "_"))
163
163
  except:
164
164
  pass
165
165
 
@@ -242,7 +242,7 @@ def publishWidget(package_folder):
242
242
  if os.path.exists(pip_dir):
243
243
  shutil.rmtree(pip_dir)
244
244
  os.makedirs(pip_dir)
245
- source_folder_name = name
245
+ source_folder_name = _pypi_folder_name(name)
246
246
  pip_source_dir = os.path.join(pip_dir, source_folder_name)
247
247
  shutil.copytree(package_folder, pip_source_dir)
248
248
  config_json_file = os.path.join(pip_source_dir, "config.json")
@@ -28,7 +28,7 @@ class TaskThread(Thread):
28
28
  checkUUID = ryry_webapi.createTask(self.widgetid, self.params)
29
29
  checking = True
30
30
  checkCount = 0
31
- while checking or checkCount > 6000:
31
+ while checking or checkCount > 600:
32
32
  finish, success, data = ryry_webapi.checkTask(checkUUID)
33
33
  if finish:
34
34
  checking = False
@@ -36,7 +36,7 @@ class TaskThread(Thread):
36
36
  self.call_back(self.idx, data)
37
37
  return
38
38
  checkCount += 1
39
- time.sleep(0.1)
39
+ time.sleep(1)
40
40
  else:
41
41
  print(f"widget {self.func}-{self.widgetid} not found")
42
42
  self.call_back(self.idx, None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.0
3
+ Version: 2.1
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.0"
6
+ ryry_version = "2.1"
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")
@@ -24,7 +24,7 @@ app_name="ryry-cli"
24
24
  except:
25
25
  with open(constanspy, 'w') as f:
26
26
  f.write(f'''#!!!!! do not change this file !!!!!
27
- app_version="2.0"
27
+ app_version="2.1"
28
28
  app_bulld_number=1
29
29
  app_bulld_anchor=""
30
30
  app_name="ryry-cli"
@@ -1,5 +0,0 @@
1
- #!!!!! do not change this file !!!!!
2
- app_version="2.0"
3
- app_bulld_number=20
4
- app_bulld_anchor="Noh_2024-05-24 16:20:40.062991"
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