md2bbcode 1.0.4__tar.gz → 1.0.7__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.
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: md2bbcode
3
- Version: 1.0.4
3
+ Version: 1.0.7
4
4
  Summary: Convert Markdown to BBCode using a custom Mistune renderer.
5
- Project-URL: Homepage, https://github.com/RedGuides/md2bbcode
6
5
  Project-URL: Repository, https://github.com/RedGuides/md2bbcode.git
7
6
  Project-URL: Issues, https://github.com/RedGuides/md2bbcode/issues
8
7
  Project-URL: Documentation, https://github.com/RedGuides/md2bbcode#readme
@@ -28,7 +28,6 @@ md2ast = "md2bbcode.md2ast:main"
28
28
  html2bbcode = "md2bbcode.html2bbcode:main"
29
29
 
30
30
  [project.urls]
31
- Homepage = "https://github.com/RedGuides/md2bbcode"
32
31
  Repository = "https://github.com/RedGuides/md2bbcode.git"
33
32
  Issues = "https://github.com/RedGuides/md2bbcode/issues"
34
33
  Documentation = "https://github.com/RedGuides/md2bbcode#readme"
@@ -48,21 +47,7 @@ include = [
48
47
  "src/md2bbcode/renderers/*.py",
49
48
  "bb_codes.xml"
50
49
  ]
51
- exclude = ["__pycache__/**"]
52
50
 
53
51
  [tool.hatch.build.targets.wheel]
54
- include = [
55
- "README.md",
56
- "LICENSE",
57
- "src/md2bbcode/*.py",
58
- "src/md2bbcode/renderers/*.py",
59
- "bb_codes.xml"
60
- ]
61
- exclude = ["__pycache__/**"]
62
52
  packages = ["src/md2bbcode"]
63
-
64
- [tool.hatch.envs.default]
65
- dependencies = [
66
- "mistune>=3.0.2",
67
- "beautifulsoup4"
68
- ]
53
+ include = ["bb_codes.xml"]
@@ -17,8 +17,8 @@ from mistune.plugins.abbr import abbr
17
17
  from mistune.plugins.spoiler import spoiler
18
18
 
19
19
  # local
20
- from .renderers.bbcode import BBCodeRenderer
21
- from .html2bbcode import process_html
20
+ from md2bbcode.renderers.bbcode import BBCodeRenderer
21
+ from md2bbcode.html2bbcode import process_html
22
22
 
23
23
  def convert_markdown_to_bbcode(markdown_text, domain):
24
24
  # Create a Markdown parser instance using the custom BBCode renderer
File without changes
File without changes
File without changes
File without changes