0

I created a package with python and I want to publish it to PyPI using GitHub Actions. When I was deploying the package I came across the following error:

ERROR   `long_description` has syntax errors in markup and would not be rendered on PyPI.                                                  
        No content rendered from RST source.                                  
        WARNING  `long_description_content_type` missing. defaulting to `text/x-rst`.   
        Error: Process completed with exit code 1.

I tried to solve it in some ways but I couldn't.

Link to repository: https://github.com/patricks-js/rpx-cli

patrick-ts
  • 31
  • 2
  • Add `long_description_content_type="text/markdown",` to your `setup()` call. Default is RST (reStructuredText) but your `README.md` is in markdown format. – phd Sep 10 '22 at 08:59

0 Answers0