Skip to content

Commit

Permalink
Tidy up display of long description on PyPI.org.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorby committed Mar 23, 2022
1 parent 5cb31aa commit 54932e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ def readfile(filename, split=False):
return stream.read()


readme = readfile("README.rst", split=True)[3:] # skip title
readme = readfile("README.rst", split=True)
readme.append('License')
readme.append('=======')
readme.append('')
readme.append('::')
readme.append('')
readme.append('')

# For requirements not hosted on PyPi place listings
# into the 'requirements.txt' file.
requires = [
Expand Down

0 comments on commit 54932e5

Please sign in to comment.