Skip to content

Commit 65eb0f6

Browse files
committed
ENH: Add setup.py for Python package generation
Based off the ITKModuleTemplate cookiecutter.
1 parent 28183b6 commit 65eb0f6

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

setup.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# -*- coding: utf-8 -*-
2+
from __future__ import print_function
3+
from os import sys
4+
5+
try:
6+
from skbuild import setup
7+
except ImportError:
8+
print('scikit-build is required to build from source.', file=sys.stderr)
9+
print('Please run:', file=sys.stderr)
10+
print('', file=sys.stderr)
11+
print(' python -m pip install scikit-build')
12+
sys.exit(1)
13+
14+
setup(
15+
name='itk-minimalpathextraction',
16+
version='0.1.0',
17+
author='Insight Software Consortium',
18+
author_email='[email protected]',
19+
packages=['itk'],
20+
package_dir={'itk': 'itk'},
21+
download_url=r'https://github.com/InsightSoftwareConsortium/ITKMinimalPathExtraction',
22+
description=r'A minimal path extraction framework based on Fast Marching arrival functions.',
23+
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. This is an extension module for ITK based on Mueller, D. "Fast Marching Minimal Path Extraction in ITK", http://hdl.handle.net/1926/1332 ',
24+
classifiers=[
25+
"License :: OSI Approved :: Apache Software License",
26+
"Programming Language :: Python",
27+
"Programming Language :: C++",
28+
"Development Status :: 4 - Beta",
29+
"Intended Audience :: Developers",
30+
"Intended Audience :: Education",
31+
"Intended Audience :: Healthcare Industry",
32+
"Intended Audience :: Science/Research",
33+
"Topic :: Scientific/Engineering",
34+
"Topic :: Scientific/Engineering :: Medical Science Apps.",
35+
"Topic :: Scientific/Engineering :: Information Analysis",
36+
"Topic :: Software Development :: Libraries",
37+
"Operating System :: Android",
38+
"Operating System :: Microsoft :: Windows",
39+
"Operating System :: POSIX",
40+
"Operating System :: Unix",
41+
"Operating System :: MacOS"
42+
],
43+
license='Apache',
44+
keywords='ITK InsightToolkit',
45+
url=r'https://itk.org/',
46+
install_requires=[
47+
r'itk'
48+
]
49+
)

0 commit comments

Comments
 (0)