Skip to content

Commit 7e995fc

Browse files
authored
Merge pull request #29 from jhlegarreta/TransitionToPyprojectToml
ENH: Transition project configuration to `pyproject.toml`
2 parents 21ee369 + 8323885 commit 7e995fc

File tree

2 files changed

+111
-56
lines changed

2 files changed

+111
-56
lines changed

pyproject.toml

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

setup.py

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

0 commit comments

Comments
 (0)