| [build-system] |
| requires = ["setuptools>=61"] |
| build-backend = "setuptools.build_meta" |
|
|
| |
| |
| |
|
|
| [project] |
| name = "boltzgen" |
| requires-python = ">=3.11" |
| version = "0.3.2" |
| readme = { file = "PYPI_DESCRIPTION.md", content-type = "text/markdown" } |
| description = "Protein design" |
| dependencies = [ |
| |
| "numpy==2.0.2", |
| "numba==0.61.0", |
| "matplotlib", |
| "hydride", |
| "biotite", |
| "pydssp", |
| "logomaker", |
| "gemmi>=0.6.5", |
| "torch>=2.4.1", |
| "scikit-learn", |
| "hydra-core", |
| "edit_distance", |
| "pytorch-lightning", |
| "rdkit", |
| "pandas", |
| "pdbeccdutils", |
| "einx", |
| "einops", |
| "mashumaro", |
| "nvidia-ml-py>=12.535.133", |
| "cuequivariance_ops_cu12>=0.5.0", |
| "cuequivariance_ops_torch_cu12>=0.5.0", |
| "cuequivariance_torch>=0.5.0", |
| "huggingface_hub", |
| "biopython", |
| ] |
|
|
| |
| |
|
|
| [tool.setuptools] |
| package-dir = {"" = "src"} |
| include-package-data = true |
|
|
| [tool.setuptools.packages.find] |
| where = ["src"] |
|
|
| [tool.setuptools.package-data] |
| boltzgen = ["resources/config/**/*"] |
|
|
| [project.scripts] |
| boltzgen = "boltzgen.cli.boltzgen:main" |
|
|
| [project.optional-dependencies] |
| lint = ["ruff"] |
| test = ["pytest"] |
| doc = [] |
| build = [] |
| dev = [ |
| "redis", |
| "wandb", |
| "requests", |
| "types-requests==2.32.4.*", |
| "boltzgen[lint]", |
| "boltzgen[test]", |
| "boltzgen[doc]", |
| "boltzgen[build]", |
| ] |
|
|
| [tool.ruff] |
| src = ["src"] |
| extend-exclude = ["conf.py"] |
| target-version = "py38" |
| lint.select = ["ALL"] |
| lint.ignore = [ |
| "COM812", |
| "ISC001", |
| "ANN101", |
| "RET504", |
| "S101", |
| "D100", |
| "D104", |
| "PT001", |
| "PT004", |
| "PT005", |
| "PT023", |
| "FBT001", |
| "FBT002", |
| "PLR0913", |
| "TRY003", |
| "EM101", |
| "FA102", |
| "T201", |
| ] |
|
|
| [tool.ruff.lint.per-file-ignores] |
| "tests/**" = [ |
| "S101", |
| "D103", |
| ] |
| "**/__init__.py" = [ |
| "F401", |
| "F403", |
| ] |
| "docs/**" = [ |
| "INP001", |
| ] |
| "scripts/**" = [ |
| "INP001", |
| ] |
|
|
| [tool.ruff.lint.pyupgrade] |
| |
| keep-runtime-typing = true |
|
|
| [tool.ruff.lint.pydocstyle] |
| convention = "numpy" |
|
|
| [tool.mypy] |
| |
| disallow_untyped_defs = true |
| warn_unused_ignores = true |
| exclude = ["configs/", "build/", "dist/", "docs/", "tests/"] |
|
|