98 lines
2.1 KiB
TOML
98 lines
2.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "DynamisLab"
|
|
version = "0.1.0"
|
|
description = "Machine Learning for Computational Fluid Dynamics"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Frank14f"}
|
|
]
|
|
keywords = [
|
|
"machine-learning",
|
|
"reinforcement-learning",
|
|
"cfd",
|
|
"fluid-dynamics",
|
|
"deep-learning",
|
|
"active-flow-control"
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Science/Research",
|
|
"Topic :: Scientific/Engineering :: Physics",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
]
|
|
|
|
dependencies = [
|
|
"numpy>=1.19.0",
|
|
"scipy>=1.5.0",
|
|
"stable-baselines3>=2.0.0",
|
|
"sb3-contrib>=2.0.0",
|
|
"gymnasium>=0.28.0",
|
|
"torch>=2.0.0",
|
|
"matplotlib>=3.5.0",
|
|
"tensorboard>=2.10.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"black>=22.0.0",
|
|
"flake8>=4.0.0",
|
|
"mypy>=0.950",
|
|
]
|
|
jupyter = [
|
|
"jupyter>=1.0.0",
|
|
"ipykernel>=6.0.0",
|
|
"pandas>=1.3.0",
|
|
"seaborn>=0.11.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/frank14f/DynamisLab"
|
|
Repository = "https://github.com/frank14f/DynamisLab.git"
|
|
Documentation = "https://github.com/frank14f/DynamisLab/tree/main/docs"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ['py38', 'py39', 'py310', 'py311']
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
/(
|
|
| \.git
|
|
| \.venv
|
|
| build
|
|
| dist
|
|
)/
|
|
'''
|
|
|
|
[tool.mypy]
|
|
python_version = "3.8"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = false
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = "test_*.py"
|
|
python_classes = "Test*"
|
|
python_functions = "test_*"
|
|
addopts = "-v --tb=short"
|