forked from avocado-framework/avocado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sphinx related tags from varianters description
With this small change, all the special tags will be removed from yaml_to_mux and pict varianters README files which is used for long description of plugins. 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
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
# Author: Cleber Rosa <[email protected]> | ||
|
||
import os | ||
import re | ||
|
||
from setuptools import setup | ||
|
||
|
@@ -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( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
# Author: Cleber Rosa <[email protected]> | ||
|
||
import os | ||
import re | ||
|
||
from setuptools import setup | ||
|
||
|
@@ -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( | ||
|