|
1 | 1 |
|
2 | | -# Generated using: python setup_py_configure.py 'itk' |
| 2 | +# Generated using: python setup_py_configure.py 'itk-meta' |
3 | 3 |
|
4 | 4 | from __future__ import print_function |
5 | 5 | from os import sys, path |
|
16 | 16 | sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) |
17 | 17 | from itkVersion import get_versions |
18 | 18 |
|
| 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 | + |
19 | 23 | this_directory = path.abspath(path.dirname(__file__)) |
20 | 24 | itk_readme_path = path.join(this_directory, 'ITK-source', 'ITK', 'README.md') |
21 | 25 | if path.exists(itk_readme_path): |
22 | 26 | with open(itk_readme_path, encoding='utf-8') as f: |
23 | | - long_description = f.read() |
| 27 | + long_description += f.read() |
24 | 28 | else: |
25 | 29 | with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: |
26 | | - long_description = f.read() |
| 30 | + long_description += f.read() |
| 31 | + |
27 | 32 |
|
28 | 33 | setup( |
29 | 34 | name='itk', |
|
32 | 37 | |
33 | 38 | packages=['itk'], |
34 | 39 | 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=[], |
46 | 42 | download_url=r'https://itk.org/ITK/resources/software.html', |
47 | 43 | description=r'ITK is an open-source toolkit for multidimensional image analysis', |
48 | 44 | long_description=long_description, |
|
70 | 66 | keywords='ITK InsightToolkit segmentation registration image imaging', |
71 | 67 | url=r'https://itk.org/', |
72 | 68 | install_requires=[ |
| 69 | + 'itk-core==5.2.0.post1', |
| 70 | + 'itk-numerics==5.2.0.post1', |
| 71 | + 'itk-io==5.2.0.post1', |
| 72 | + 'itk-filtering==5.2.0.post1', |
| 73 | + 'itk-registration==5.2.0.post1', |
| 74 | + 'itk-segmentation==5.2.0.post1', |
| 75 | + 'numpy' |
73 | 76 | ] |
74 | 77 | ) |
0 commit comments