Skip to content

Commit

Permalink
Show long description in setup.py in readable format
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiklank authored and praiskup committed Apr 25, 2023
1 parent a59f3bc commit 3dfd323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_requirements():

def get_long_description():
with open('README.md') as f:
return str([l for l in f.read().splitlines() if not l.startswith('[![')])
return "\n".join(l for l in f.read().splitlines() if not l.startswith('[!['))

setup(
name='distgen',
Expand Down

0 comments on commit 3dfd323

Please sign in to comment.