Image in README.rst not displaying in pypi

这一生的挚爱 提交于 2019-12-05 02:28:11

In .. image:: example-python.png you use relative URL, i.e. a browser expects the image in the same directory as the package. I doubt it's possible to upload an image at PyPI. Upload it somewhere and change the URL to be an absolute URL. An image already at Github is ok I think.

include directive in MANIFEST.in doesn't work because it includes the image into source (sdist) archive where browsers will never look it up.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!