Skip to content

Commit

Permalink
Merge pull request #1011 from mwestphal/fix_python_wheel_versioning
Browse files Browse the repository at this point in the history
Fix python wheel versioning
  • Loading branch information
mwestphal authored Dec 28, 2023
2 parents 2b7b28b + 407529b commit f658993
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist
*.egg-info
__pycache__
*.pyc
_version.py
16 changes: 11 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build"
[project]
name = "f3d"
requires-python = ">=3.8"
version = "2.2.1"
dynamic = ["version"]
description = "F3D, a fast and minimalist 3D viewer"
readme = "README.md"
license = {text = "BSD 3-Clause License"}
Expand Down Expand Up @@ -37,14 +37,20 @@ Changelog = "https://github.com/f3d-app/f3d/blob/master/doc/CHANGELOG.md"

[tool.scikit-build]
minimum-version = "0.4"
cmake.minimum-version = "3.21"
cmake.build-type = "Release"
install.components = ["library", "plugin", "python", "dependencies"]
ninja.minimum-version = "1.10"
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.include = ["_version.py"]
cmake.build-type = "Release"
cmake.minimum-version = "3.21"
ninja.make-fallback = false
wheel.packages = []
ninja.minimum-version = "1.10"
wheel.install-dir = "f3d"
wheel.license-files = ["LICENSE.md", "doc/THIRD_PARTY_LICENSES.md"]
wheel.packages = []

[tool.setuptools_scm]
write_to = "_version.py"
fallback_version = "2.2.1"

[tool.scikit-build.cmake.define]
CMAKE_OSX_DEPLOYMENT_TARGET = "10.15"
Expand Down

0 comments on commit f658993

Please sign in to comment.