From db387283560299e8ff1f0e42c577d2b9c56b36bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Thu, 20 Dec 2018 21:23:47 -0500 Subject: [PATCH] DOC: Improve Python package information. Improve Python package information: - Provide a short description. - Make the reference in the long description match the package name and not the ITK project name. - Replace the generic ITK long description for a description of the package. - Make the URL be the URL of the project in GitHub. - Add kewyowrds. Partially addresses: https://github.com/InsightSoftwareConsortium/ITK/issues/326 --- setup.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index 3ba16ec..b53df92 100644 --- a/setup.py +++ b/setup.py @@ -19,15 +19,13 @@ packages=['itk'], package_dir={'itk': 'itk'}, download_url=r'https://github.com/KitwareMedical/ITKMorphologicalContourInterpolation', - description=r'Interslice interpolations of label images based on their morphology .', - long_description='ITK is an open-source, cross-platform library that ' - 'provides developers with an extensive suite of software ' - 'tools for image analysis. This package implements morphological contour interpolation. ' - 'For more information, see ' + description=r'Image morphological contour interpolation.', + long_description='itk-morphologicalcontourinterpolation provides classes ' + 'to perform image morphological contour interpolation.\n' + 'Please refer to:\n' 'Zukić D., Vicory J., McCormick M., Wisse L., Gerig G., Yushkevich P., Aylward S. ' '"ND Morphological Contour Interpolation" ' - 'http://insight-journal.org/browse/publication/977 ' - 'http://hdl.handle.net/10380/3563 ', + 'Insight Journal, January-December 2016, http://hdl.handle.net/10380/3563.', classifiers=[ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", @@ -48,8 +46,8 @@ "Operating System :: MacOS" ], license='Apache', - keywords='ITK InsightToolkit', - url=r'https://itk.org/', + keywords='ITK InsightToolkit Segmentation Interpolation-methods', + url=r'https://github.com/KitwareMedical/ITKMorphologicalContourInterpolation', install_requires=[ r'itk' ]