Skip to content

Commit

Permalink
a better way to upload the README to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirudennis committed Aug 19, 2024
1 parent 2f6f4de commit 37225e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ dependencies = [
]
requires-python = '>=3.8'
keywords = ['textile', 'text', 'html markup']
# use pandoc to generate a markdown version of the README before uploading:
# pandoc README.textile -o README.md
# this kinda hurts to have to do this.
readme = {file = 'README.md', content-type = 'text/markdown'}
# Use the following command to generate a README.txt which is compatible with
# pypi's readme rendering:
# pytextile README.textile | sed -e 's/^\t//' > README.txt
readme = {file = 'README.txt', content-type = 'text/markdown'}

[project.optional-dependencies]
develop = ['pytest', 'pytest-cov']
Expand Down

0 comments on commit 37225e1

Please sign in to comment.