Skip to content

Commit

Permalink
Use uv build backend
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Dec 5, 2024
1 parent aeec6c2 commit f5ccc38
Show file tree
Hide file tree
Showing 18 changed files with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["uv>=0.5,uv<0.6"]
build-backend = "uv"

[project]
name = "foamlib"
version = "0.8.0"
description = "A Python interface for interacting with OpenFOAM"
readme = "README.md"
requires-python = ">=3.7"
Expand Down Expand Up @@ -34,8 +35,6 @@ dependencies = [
"typing-extensions>=4,<5; python_version<'3.11'",
]

dynamic = ["version"]

[project.optional-dependencies]
numpy = [
"numpy>=1.25.0,<3; python_version>='3.10'",
Expand Down Expand Up @@ -70,9 +69,6 @@ Homepage = "https://github.com/gerlero/foamlib"
Repository = "https://github.com/gerlero/foamlib"
Documentation = "https://foamlib.readthedocs.io"

[tool.hatch.version]
path = "foamlib/__init__.py"

[tool.mypy]
packages = [
"foamlib",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f5ccc38

Please sign in to comment.