Oslandia / deeposlandia

Migrated to: https://gitlab.com/Oslandia/deeposlandia
MIT License
59 stars 16 forks source link

Publish a cleaner version on Pypi #159

Closed delhomer closed 4 years ago

delhomer commented 4 years ago

For now on Pypi, there are two publication problems:

(See https://pypi.org/project/deeposlandia/0.6.1/)

Solution for first problem

An argument is missing in setup() function : https://packaging.python.org/specifications/core-metadata/#description-content-type. One has to add long_description_content_type="text/markdown".

Solution for second problem

There seems that Pypi does not support relative paths; hence one should specify the image absolute paths in the README file.

For similar issue on other projects:

The problem is also discussed there: https://stackoverflow.com/questions/41983209/how-do-i-add-images-to-a-pypi-readme-that-works-on-github.

delhomer commented 4 years ago

As a remark there are some cons with managing the image rendering problem with absolute paths towards master branch. See https://github.com/GillesPy2/GillesPy2/issues/213 for more details on this point.

delhomer commented 4 years ago

Solved after #160, see https://pypi.org/project/deeposlandia/0.6.3.post1/.