Skip to content

Commit 5a84a76

Browse files
committed
remove the code to strip out seealso:: form setup.py
1 parent f078d23 commit 5a84a76

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

setup.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,7 @@ def readme():
77
# Get the long description from the README file
88
readme_file = path.join(path.abspath(path.dirname(__file__)), "README.rst")
99
with _open(readme_file, "rb", encoding='utf-8') as opened_file:
10-
line_sequence = opened_file.readlines()
11-
12-
# Strips out the seealso directive which is unsupported by pypi and causes problems
13-
for count, line in enumerate(line_sequence):
14-
if "seealso::" in line:
15-
# Strip out this line and the next
16-
del line_sequence[count]
17-
del line_sequence[count]
18-
return "".join(line_sequence)
10+
return opened_file.read()
1911

2012

2113
setup(name='htmlement',

0 commit comments

Comments
 (0)