Skip to content

Commit 8409a4a

Browse files
authored
Merge pull request #78 from thewtex/itk-5.4.0
itk 5.4.0
2 parents 2b8509a + 075b198 commit 8409a4a

File tree

5 files changed

+125
-52
lines changed

5 files changed

+125
-52
lines changed

.github/workflows/build-test-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on: [push,pull_request]
44

55
jobs:
66
cxx-build-workflow:
7-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@5083da2740617b78423ebf6083489e1e70ee8ca0
7+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.0
88

99
python-build-workflow:
10-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@5083da2740617b78423ebf6083489e1e70ee8ca0
10+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.0
1111
secrets:
1212
pypi_password: ${{ secrets.pypi_password }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.10.2)
1+
cmake_minimum_required(VERSION 3.16.3)
22
project(Cuberille)
33

44
if(NOT ITK_SOURCE_DIR)

pyproject.toml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
[build-system]
2+
requires = ["scikit-build-core", "setuptools_scm>=8"]
3+
build-backend = "scikit_build_core.build"
4+
5+
[project]
6+
name = "itk-cuberille"
7+
description = "Cuberille implicit surface polygonization to generate meshes from images."
8+
readme = "README.rst"
9+
license = {file = "LICENSE"}
10+
authors = [
11+
{ name = "Dan Meuller" },
12+
{ name = "Matthew M. McCormick", email = "[email protected]" },
13+
]
14+
keywords = [
15+
"itk",
16+
]
17+
classifiers = [
18+
"Development Status :: 4 - Beta",
19+
"Intended Audience :: Developers",
20+
"Intended Audience :: Education",
21+
"Intended Audience :: Healthcare Industry",
22+
"Intended Audience :: Science/Research",
23+
"License :: OSI Approved :: Apache Software License",
24+
"Operating System :: Android",
25+
"Operating System :: MacOS",
26+
"Operating System :: Microsoft :: Windows",
27+
"Operating System :: POSIX",
28+
"Operating System :: Unix",
29+
"Programming Language :: C++",
30+
"Programming Language :: Python",
31+
"Topic :: Scientific/Engineering",
32+
"Topic :: Scientific/Engineering :: Information Analysis",
33+
"Topic :: Scientific/Engineering :: Medical Science Apps.",
34+
"Topic :: Software Development :: Libraries",
35+
]
36+
requires-python = ">=3.8"
37+
dependencies = [
38+
"itk-io == 5.4.*",
39+
"numpy",
40+
]
41+
dynamic = ["version"]
42+
43+
[project.urls]
44+
Download = "https://github.com/InsightSoftwareConsortium/ITKCuberille"
45+
Homepage = "https://github.com/InsightSoftwareConsortium/ITKCuberille"
46+
47+
[tool.setuptools_scm]
48+
# Intentionally blank to use the default behavior without warnings.
49+
50+
[tool.scikit-build.metadata]
51+
version.provider = "scikit_build_core.metadata.setuptools_scm"
52+
53+
[tool.scikit-build]
54+
# The versions of CMake to allow. If CMake is not present on the system or does
55+
# not pass this specifier, it will be downloaded via PyPI if possible. An empty
56+
# string will disable this check.
57+
cmake.version = ">=3.16.3"
58+
59+
# A list of args to pass to CMake when configuring the project. Setting this in
60+
# config or envvar will override toml. See also ``cmake.define``.
61+
cmake.args = []
62+
63+
# A table of defines to pass to CMake when configuring the project. Additive.
64+
cmake.define = {}
65+
66+
# Verbose printout when building.
67+
cmake.verbose = true
68+
69+
# The build type to use when building the project. Valid options are: "Debug",
70+
# "Release", "RelWithDebInfo", "MinSizeRel", "", etc.
71+
cmake.build-type = "Release"
72+
73+
# The source directory to use when building the project. Currently only affects
74+
# the native builder (not the setuptools plugin).
75+
cmake.source-dir = "."
76+
77+
# The versions of Ninja to allow. If Ninja is not present on the system or does
78+
# not pass this specifier, it will be downloaded via PyPI if possible. An empty
79+
# string will disable this check.
80+
ninja.version = ">=1.11"
81+
82+
# The logging level to display, "DEBUG", "INFO", "WARNING", and "ERROR" are
83+
# possible options.
84+
logging.level = "INFO"
85+
86+
# Files to include in the SDist even if they are skipped by default. Supports
87+
# gitignore syntax.
88+
sdist.include = []
89+
90+
# Files to exclude from the SDist even if they are included by default. Supports
91+
# gitignore syntax.
92+
sdist.exclude = []
93+
94+
# A list of license files to include in the wheel. Supports glob patterns.
95+
wheel.license-files = ["LICEN[CS]E*",]
96+
97+
# Target the platlib or the purelib. If not set, the default is to target the
98+
# platlib if wheel.cmake is true, and the purelib otherwise.
99+
wheel.platlib = "false"
100+
101+
# If CMake is less than this value, backport a copy of FindPython. Set to 0
102+
# disable this, or the empty string.
103+
backport.find-python = "3.26.1"
104+
105+
# Select the editable mode to use. Can be "redirect" (default) or "inplace".
106+
editable.mode = "redirect"
107+
108+
# Rebuild the project when the package is imported. The build-directory must be
109+
# set.
110+
editable.rebuild = false
111+
112+
# If set, this will provide a method for scikit-build backward compatibility.
113+
minimum-version = "0.8.2"
114+
115+
# The build directory. Defaults to a temporary directory, but can be set.
116+
build-dir = "build/{wheel_tag}"

requirements-dev.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ninja==1.11.1.1
2+
scikit-build-core==0.9.5
3+
build==1.2.1
4+
pyproject-metadata
5+
pathspec
6+
setuptools_scm==8.1.0

setup.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)