Skip to content

Commit

Permalink
Remove sphinx related tags from varianter description
Browse files Browse the repository at this point in the history
With this small change, all the special tags will be removed from
yaml_to_mux varianter README file which is used for long description of
plugin. We have to do this because systems like pypi doesn't support
sphinx only basic ResTructuredText.

Reference: avocado-framework#5713
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Oct 10, 2023
1 parent bf5c7f2 commit 11f1bf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optional_plugins/varianter_yaml_to_mux/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Author: Cleber Rosa <[email protected]>

import os
import re

from setuptools import setup

Expand All @@ -33,7 +34,7 @@
def get_long_description():
with open(os.path.join(BASE_PATH, "README.rst"), "rt", encoding="utf-8") as readme:
readme_contents = readme.read()
return readme_contents
return re.sub(r":[a-zA-Z]+:", "", readme_contents)


setup(
Expand Down

0 comments on commit 11f1bf5

Please sign in to comment.