|
1 | 1 |
|
2 | | -# Generated using: python setup_py_configure.py 'itk-meta' |
| 2 | +# Generated using: python setup_py_configure.py 'itk' |
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 | | - |
23 | 19 | this_directory = path.abspath(path.dirname(__file__)) |
24 | 20 | itk_readme_path = path.join(this_directory, 'ITK-source', 'ITK', 'README.md') |
25 | 21 | if path.exists(itk_readme_path): |
26 | 22 | with open(itk_readme_path, encoding='utf-8') as f: |
27 | | - long_description += f.read() |
| 23 | + long_description = f.read() |
28 | 24 | else: |
29 | 25 | with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: |
30 | | - long_description += f.read() |
31 | | - |
| 26 | + long_description = f.read() |
32 | 27 |
|
33 | 28 | setup( |
34 | 29 | name='itk', |
|
37 | 32 | |
38 | 33 | packages=['itk'], |
39 | 34 | package_dir={'itk': 'itk'}, |
40 | | - cmake_args=['-DITKPythonPackage_WHEEL_NAME:STRING=itk-meta'], |
41 | | - py_modules=[], |
| 35 | + cmake_args=[], |
| 36 | + py_modules=[ |
| 37 | + 'itkBase', |
| 38 | + 'itkConfig', |
| 39 | + 'itkExtras', |
| 40 | + 'itkLazy', |
| 41 | + 'itkTemplate', |
| 42 | + 'itkTypes', |
| 43 | + 'itkVersion', |
| 44 | + 'itkBuildOptions' |
| 45 | + ], |
42 | 46 | download_url=r'https://itk.org/ITK/resources/software.html', |
43 | 47 | description=r'ITK is an open-source toolkit for multidimensional image analysis', |
44 | 48 | long_description=long_description, |
|
66 | 70 | keywords='ITK InsightToolkit segmentation registration image imaging', |
67 | 71 | url=r'https://itk.org/', |
68 | 72 | install_requires=[ |
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' |
| 73 | + r'numpy', |
76 | 74 | ] |
77 | 75 | ) |
0 commit comments