Skip to content

Commit 4e085ee

Browse files
committed
ENH: Update version to v5.2.1
1 parent 4e8928a commit 4e085ee

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ if(ITKPythonPackage_SUPERBUILD)
7474

7575
set(ITK_REPOSITORY "https://github.com/InsightSoftwareConsortium/ITK.git")
7676

77-
# ITK release 2021-05-25
78-
set(ITK_GIT_TAG "2502192aa96d0242af14f9961a27bb7ba2880d8d")
77+
# ITK release 2021-08-12
78+
set(ITK_GIT_TAG "v5.2.1")
7979

8080
#-----------------------------------------------------------------------------
8181
# A separate project is used to download ITK, so that it can reused

itk/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

itkVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '5.2.0.post3'
1+
VERSION = '5.2.1'
22

33
def get_versions():
44
"""Returns versions for the ITK Python package.

setup.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# Generated using: python setup_py_configure.py 'itk'
2+
# Generated using: python setup_py_configure.py 'itk-meta'
33

44
from __future__ import print_function
55
from os import sys, path
@@ -16,14 +16,19 @@
1616
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
1717
from itkVersion import get_versions
1818

19+
long_description = 'itk\n'
20+
long_description += '====================================\n\n'
21+
long_description += 'ITK is an open-source, cross-platform library that provides developers with an extensive suite of software tools for image analysis. Developed through extreme programming methodologies, ITK employs leading-edge algorithms for registering and segmenting multidimensional scientific images.\n\n'
22+
1923
this_directory = path.abspath(path.dirname(__file__))
2024
itk_readme_path = path.join(this_directory, 'ITK-source', 'ITK', 'README.md')
2125
if path.exists(itk_readme_path):
2226
with open(itk_readme_path, encoding='utf-8') as f:
23-
long_description = f.read()
27+
long_description += f.read()
2428
else:
2529
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
26-
long_description = f.read()
30+
long_description += f.read()
31+
2732

2833
setup(
2934
name='itk',
@@ -32,17 +37,8 @@
3237
author_email='[email protected]',
3338
packages=['itk'],
3439
package_dir={'itk': 'itk'},
35-
cmake_args=[],
36-
py_modules=[
37-
'itkBase',
38-
'itkConfig',
39-
'itkExtras',
40-
'itkLazy',
41-
'itkTemplate',
42-
'itkTypes',
43-
'itkVersion',
44-
'itkBuildOptions'
45-
],
40+
cmake_args=['-DITKPythonPackage_WHEEL_NAME:STRING=itk-meta'],
41+
py_modules=[],
4642
download_url=r'https://itk.org/ITK/resources/software.html',
4743
description=r'ITK is an open-source toolkit for multidimensional image analysis',
4844
long_description=long_description,
@@ -70,6 +66,12 @@
7066
keywords='ITK InsightToolkit segmentation registration image imaging',
7167
url=r'https://itk.org/',
7268
install_requires=[
73-
r'numpy',
69+
'itk-core==5.2.0.post3',
70+
'itk-numerics==5.2.0.post3',
71+
'itk-io==5.2.0.post3',
72+
'itk-filtering==5.2.0.post3',
73+
'itk-registration==5.2.0.post3',
74+
'itk-segmentation==5.2.0.post3',
75+
'numpy'
7476
]
7577
)

0 commit comments

Comments
 (0)