scripts/build_dist.sh: sdist + pure wheel + manylinux_2_28 kernel wheels (maturin --zig,
both architectures). Dockerfile (multi-stage, kernels included, non-root user).
packaging/conda/{simurg,simurg-core}. scripts/p10/digest.py: platform-independent content
digests of GTC/VCF/summary outputs. Cloud task p10 installs the artifacts on a fresh
Ubuntu VM and runs the tutorial with pip, Docker and conda installs. trial.sh picks the
arm64/amd64 image from the instance type and can run instances in parallel (PARALLEL=1).
Licence files ship in both wheels; Rust crate notices added.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01814GKVzZVL3FuF3DeiZXhv
78 lines
2.1 KiB
TOML
78 lines
2.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling>=1.27"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "simurg"
|
|
description = "SimurgArray: open research toolkit for Illumina Infinium genotyping BeadChip data"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"]
|
|
requires-python = ">=3.12"
|
|
authors = [{ name = "Kemal Yaylali" }]
|
|
keywords = ["genotyping", "microarray", "infinium", "idat", "gtc", "vcf", "bioinformatics"]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Science/Research",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Operating System :: MacOS",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
]
|
|
dynamic = ["version"]
|
|
dependencies = [
|
|
"numpy>=1.26", # all numerics
|
|
"typer>=0.12", # CLI
|
|
"rich>=13", # progress / human-readable output
|
|
"pyyaml>=6", # --config files
|
|
"pyarrow>=15", # canonical columnar model and Parquet outputs (plan §5)
|
|
"openpyxl>=3.1", # QC table .xlsx (QC-045)
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8",
|
|
"pytest-benchmark>=4",
|
|
"hypothesis>=6.100",
|
|
"ruff>=0.6",
|
|
"mypy>=1.11",
|
|
"types-PyYAML",
|
|
]
|
|
|
|
[project.scripts]
|
|
simurg = "simurg.cli.main:app"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/simurg/__init__.py"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/simurg"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q --strict-markers"
|
|
markers = [
|
|
"data: needs downloaded datasets under data/ (skipped when absent)",
|
|
"oracle: compares against a reference implementation under refs/ (skipped when absent)",
|
|
"slow: long-running test",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "B", "UP", "N", "SIM", "RUF"]
|
|
ignore = ["N802", "N806", "RUF001", "RUF002", "RUF003"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/**" = ["E501"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
files = ["src/simurg"]
|
|
ignore_missing_imports = true
|