nonebot-plugin-htmlrender 0.7.0a1__tar.gz → 0.7.0a2__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 (61) hide show
  1. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/PKG-INFO +1 -1
  2. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/install.py +3 -0
  3. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/pyproject.toml +1 -1
  4. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/uv.lock +298 -234
  5. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.dockerignore +0 -0
  6. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.github/workflows/_test-os-arch.yml +0 -0
  7. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.github/workflows/codecov.yml +0 -0
  8. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.github/workflows/docker_image.yml +0 -0
  9. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.github/workflows/publish.yml +0 -0
  10. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.gitignore +0 -0
  11. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.pre-commit-config.yaml +0 -0
  12. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/.python-version +0 -0
  13. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/LICENSE +0 -0
  14. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/README.md +0 -0
  15. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/docker-compose.yaml +0 -0
  16. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/dockerfile +0 -0
  17. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/docs/example.md +0 -0
  18. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/docs/html2pic.png +0 -0
  19. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/docs/md2pic.png +0 -0
  20. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/docs/template2pic.png +0 -0
  21. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/docs/text2pic.png +0 -0
  22. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/entrypoint.sh +0 -0
  23. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/docker-compose.yaml +0 -0
  24. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/entrypoint.sh +0 -0
  25. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/__init__.py +0 -0
  26. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/html2pic.html +0 -0
  27. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/templates/markdown.css +0 -0
  28. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/templates/mystyle.css +0 -0
  29. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/templates/progress.html.jinja2 +0 -0
  30. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/templates/text.html +0 -0
  31. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/plugins/render/utils.py +0 -0
  32. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/example/pyproject.toml +0 -0
  33. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/__init__.py +0 -0
  34. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/browser.py +0 -0
  35. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/config.py +0 -0
  36. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/consts.py +0 -0
  37. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/data_source.py +0 -0
  38. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/process.py +0 -0
  39. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/signal.py +0 -0
  40. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/github-markdown-light.css +0 -0
  41. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/katex/katex.min.b64_fonts.css +0 -0
  42. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/katex/katex.min.js +0 -0
  43. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/katex/mathtex-script-type.min.js +0 -0
  44. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/katex/mhchem.min.js +0 -0
  45. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/markdown.html +0 -0
  46. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/pygments-default.css +0 -0
  47. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/text.css +0 -0
  48. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/templates/text.html +0 -0
  49. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/nonebot_plugin_htmlrender/utils.py +0 -0
  50. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/__init__.py +0 -0
  51. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/conftest.py +0 -0
  52. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/resources/test_template_filter.png +0 -0
  53. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/templates/markdown.css +0 -0
  54. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/templates/mystyle.css +0 -0
  55. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/templates/progress.html.jinja2 +0 -0
  56. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/templates/text.html +0 -0
  57. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/test_browser.py +0 -0
  58. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/test_deprecated_decorator.py +0 -0
  59. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/test_htmlrender.py +0 -0
  60. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/test_install.py +0 -0
  61. {nonebot_plugin_htmlrender-0.7.0a1 → nonebot_plugin_htmlrender-0.7.0a2}/tests/test_process.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nonebot-plugin-htmlrender
3
- Version: 0.7.0a1
3
+ Version: 0.7.0a2
4
4
  Summary: 通过浏览器渲染图片
5
5
  Project-URL: Homepage, https://github.com/kexue-z/nonebot-plugin-htmlrender
6
6
  Project-URL: Bug Tracker, https://github.com/kexue-z/nonebot-plugin-htmlrender/issues
@@ -4,6 +4,7 @@ from contextlib import asynccontextmanager
4
4
  import os
5
5
  from typing import Callable, Optional
6
6
  from urllib.parse import urlparse
7
+ import sys
7
8
 
8
9
  from nonebot import logger
9
10
 
@@ -171,6 +172,8 @@ async def execute_install_command(timeout: int) -> tuple[bool, str]:
171
172
  install_signal_handler()
172
173
 
173
174
  process = await create_process(
175
+ sys.executable,
176
+ "-m",
174
177
  "playwright",
175
178
  "install",
176
179
  "--with-deps",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nonebot-plugin-htmlrender"
3
- version = "0.7.0.alpha.1"
3
+ version = "0.7.0.alpha.2"
4
4
  description = "通过浏览器渲染图片"
5
5
  readme = "README.md"
6
6
  authors = [{ name = "kexue", email = "x@kexue-cloud.cn" }]