-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (38 loc) · 1.04 KB
/
Copy pathpyproject.toml
File metadata and controls
44 lines (38 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyfoam-cfd"
version = "0.1.0"
description = "Pure Python rewrite of OpenFOAM with PyTorch GPU acceleration"
readme = "README.md"
license = {text = "GPL-3.0"}
requires-python = ">=3.10"
authors = [
{name = "pyOpenFOAM Team"}
]
keywords = ["cfd", "openfoam", "pytorch", "gpu", "fluid-dynamics"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"torch>=2.0",
"numpy>=1.24",
"scipy>=1.10",
]
[project.optional-dependencies]
gpu = ["cupy-cuda12x"]
mpi = ["mpi4py"]
viz = ["pyvista", "matplotlib"]
dev = ["pytest", "pytest-cov", "black", "ruff", "mypy"]
[tool.hatch.build.targets.wheel]
packages = ["src/pyfoam"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]