Skip to content

Commit 1f4de57

Browse files
committed
more flexible description parsing
1 parent 540d6f5 commit 1f4de57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
1010
try:
1111
readme_header = f.read().split('\n', 2)
12-
short_description = readme_header[0].split('gzint: ')[-1] + '.'
12+
short_description = readme_header[0].split(': ')[-1] + '.'
1313
long_description = readme_header[2].split('\n', 2)[2].split('\n\n')[0].replace('\n', ' ').replace('`', '')
1414
except Exception:
1515
raise ValueError('Failed to parse gzint description from README.md')

0 commit comments

Comments
 (0)