We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f078d23 commit 5a84a76Copy full SHA for 5a84a76
setup.py
@@ -7,15 +7,7 @@ def readme():
7
# Get the long description from the README file
8
readme_file = path.join(path.abspath(path.dirname(__file__)), "README.rst")
9
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
18
- return "".join(line_sequence)
+ return opened_file.read()
19
20
21
setup(name='htmlement',
0 commit comments