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 a6ed038 commit 71c0c91Copy full SHA for 71c0c91
setup.py
@@ -10,9 +10,16 @@
10
11
this_directory = os.path.abspath(os.path.dirname(__file__))
12
long_description = None
13
+total_description = None
14
try:
15
with open(os.path.join(this_directory, 'README.md'), 'rb') as f:
- long_description = f.read().decode('utf-8')
16
+ total_description = f.read().decode('utf-8')
17
+ description_lines = total_description.split('\n')
18
+ long_description_lines = []
19
+ for line in description_lines:
20
+ if not line.startswith("<meta ") and not line.startswith("<link "):
21
+ long_description_lines.append(line)
22
+ long_description = "\n".join(long_description_lines)
23
except IOError:
24
long_description = 'Reliable Browser Automation & Testing Framework'
25
0 commit comments