research/tools/simulators/blend/pyproject.toml

44 lines
894 B
TOML
Raw Normal View History

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "blend"
version = "0.1.0"
description = "Peering-degree Monte-Carlo graph simulator for the Blend network"
requires-python = ">=3.11"
dependencies = [
"numpy",
"pandas",
"pyarrow",
"matplotlib",
"scipy",
"pyyaml",
"tqdm",
"joblib",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-xdist", "ruff", "mypy"]
[project.scripts]
pd-sweep = "blend.sweep:main"
pd-verify = "blend.verify:main"
pd-figures = "blend.plotting.make_figures:main"
[tool.hatch.build.targets.wheel]
packages = ["src/blend"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "NPY"]
ignore = ["E741"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
markers = ["slow: marks slow tests (deselect with -m 'not slow')"]