forked from NVIDIA/modulus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
executable file
·95 lines (83 loc) · 2.14 KB
/
pyproject.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "nvidia-modulus"
authors = [
{ name="NVIDIA Modulus Team"},
]
description = "A deep learning framework for AI-driven multi-physics systems"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "Apache 2.0"}
dependencies = [
"torch>=2.0.0",
"numpy>=1.22.4,<1.25",
"xarray>=2023.1.0",
"zarr>=2.14.2",
"fsspec>=2023.1.0",
"s3fs>=2023.5.0",
"nvidia_dali_cuda110>=1.16.0",
"setuptools>=67.6.0",
"certifi>=2023.7.22",
"pytz>=2023.3",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
[project.optional-dependencies]
launch = [
"hydra-core>=1.2.0",
"termcolor>=2.1.1",
"wandb>=0.13.7",
"mlflow>=2.1.1",
"pydantic>=1.10.2",
"imageio>=2.28.1",
"moviepy>=1.0.3",
"tqdm>=4.60.0",
]
dev = [
"pytest>=6.0.0",
"pyyaml>=6.0",
"black==22.10.0",
"interrogate==1.5.0",
"coverage==6.5.0",
"ruff==0.0.290",
]
all = [
"h5py>=3.7.0",
"mpi4py>=3.1.4",
"netcdf4>=1.6.3",
"ruamel.yaml>=0.17.22",
"scikit-learn>=1.0.2",
"warp-lang>=0.6.0",
"tensorly>=0.8.1",
"tensorly-torch>=0.4.0",
"vtk>=9.2.6",
"pyvista>=0.40.1",
"torch-harmonics>=0.6.2",
"onnx>=1.14.0",
"nvidia-modulus[launch]",
"nvidia-modulus[dev]"
]
[tool.setuptools.dynamic]
version = {attr = "modulus.__version__"}
[tool.setuptools.packages.find]
include = ["modulus", "modulus.*"]
[tool.ruff]
# Enable flake8/pycodestyle (`E`), Pyflakes (`F`), flake8-bandit (`S`),
# isort (`I`), and performance 'PERF' rules.
select = ["E", "F", "S", "I", "PERF"]
fixable = ["I"]
# Never enforce `E402`, `E501` (line length violations),
# and `S311` (random number generators)
ignore = ["E501", "S311"]
[tool.ruff.per-file-ignores]
# Ignore `F401` (import violations) in all `__init__.py` files, and in `docs/*.py`.
"__init__.py" = ["F401"]
"docs/*.py" = ["F401"]
# Ignore `S101` (assertions) in all `test` files.
"test/*.py" = ["S101"]