InsightSoftwareConsortium / ITKColorNormalization

Structure preserving color normalization on H&E images using a reference image
Apache License 2.0
18 stars 5 forks source link

Fix long description associated pypi package #15

Closed jcfr closed 4 years ago

jcfr commented 4 years ago

Instead of:

https://github.com/InsightSoftwareConsortium/ITKColorNormalization/blob/b65eb0f8f16ee77dfb2c5b8720acf85a6d6a5b96/setup.py#L23

Consider doing something like this:

with open('README.md', 'r') as fp:
    readme = fp.read()

and add the following arguments to the setup function:

    long_description=readme,
    long_description_content_type='text/markdown',

For example, see https://github.com/CastXML/CastXML-python-distributions/blob/master/setup.py

thewtex commented 4 years ago

:+1: good idea @jcfr .

After implemented here, this should be added to ITKModuleTemplate.