@@ -4,21 +4,25 @@ build-backend = "scikit_build_core.build"
44
55[project ]
66name = " compas_cgal"
7- version = " 1.0.1"
87description = " CGAL wrapper for COMPAS."
98readme = " README.md"
10- requires-python = " >=3.8 "
9+ requires-python = " >=3.9 "
1110authors = [
1211 {
name =
" tom van mele" ,
email =
" [email protected] " },
1312 {
name =
" Petras Vestartas" ,
email =
" [email protected] " },
1413]
1514classifiers = [
1615 " License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)" ,
1716]
17+ dynamic = [" version" ]
1818
1919[project .urls ]
2020Homepage = " https://github.com/compas-dev/compas_cgal"
2121
22+ # ============================================================================
23+ # replace pytest.ini
24+ # ============================================================================
25+
2226[tool .pytest .ini_options ]
2327minversion = " 6.0"
2428testpaths = [" tests" ]
@@ -49,6 +53,10 @@ doctest_optionflags = [
4953 " NUMBER" ,
5054]
5155
56+ # ============================================================================
57+ # scikit-build
58+ # ============================================================================
59+
5260[tool .scikit-build ]
5361# Protect the configuration against future changes in scikit-build-core
5462minimum-version = " build-system.requires"
@@ -66,9 +74,17 @@ cmake.build-type = "Release"
6674# Set CMake args for verbose output
6775cmake.args = [" -DCMAKE_VERBOSE_MAKEFILE=ON" ]
6876
77+ [tool .scikit-build .metadata .version ]
78+ provider = " scikit_build_core.metadata.regex"
79+ input = " src/compas_cgal/__init__.py"
80+
6981[tool .scikit-build .cmake .define ]
7082CMAKE_POLICY_DEFAULT_CMP0135 = " NEW"
7183
84+ # ============================================================================
85+ # cibuildwheel
86+ # ============================================================================
87+
7288[tool .cibuildwheel ]
7389# Necessary to see build output from the actual compilation
7490build-verbosity = 1
@@ -84,8 +100,12 @@ test-skip = "cp38-macosx_*:arm64"
84100[tool .cibuildwheel .macos .environment ]
85101MACOSX_DEPLOYMENT_TARGET = " 10.14"
86102
103+ # ============================================================================
104+ # replace bumpversion.cfg
105+ # ============================================================================
106+
87107[tool .bumpversion ]
88- current_version = " 1.0.1 "
108+ current_version = " 0.7.2 "
89109message = " Bump version to {new_version}"
90110commit = true
91111tag = true
@@ -103,6 +123,7 @@ replace = "[{new_version}] {now:%Y-%m-%d}"
103123# ============================================================================
104124# replace setup.cfg
105125# ============================================================================
126+
106127[tool .black ]
107128line-length = 179
108129
0 commit comments