Skip to content

Commit

Permalink
DOC: Improve Python package information.
Browse files Browse the repository at this point in the history
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:
InsightSoftwareConsortium/ITK#326
  • Loading branch information
jhlegarreta committed Dec 21, 2018
1 parent 7d07525 commit db38728
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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'
]
Expand Down

0 comments on commit db38728

Please sign in to comment.