Skip to content

Commit

Permalink
set long description content type
Browse files Browse the repository at this point in the history
  • Loading branch information
dothinking committed Jun 29, 2020
1 parent 7d03a1f commit 19639fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ jobs:
# Error when two sdist files created in build job are uploaded to Pipi:
# HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
# Only one sdist may be uploaded per release.
# Keep *.zip file here.
- name: Remove duplicated sdist
run: rm ./dist/*.tar.gz
run: rm ./dist/*.zip

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def load_requirements(fname):
keywords=["pdf-to-word", "pdf-to-docx"],
description="parse PDF files to docx",
long_description=load_long_description('README.md'),
long_description_content_type='text/markdown',
license="GPL v3",
author="dothinking",
author_email="[email protected]",
Expand Down

0 comments on commit 19639fd

Please sign in to comment.