File size: 1,421 Bytes
9635a89 | 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 | [build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "cortexlab"
version = "0.1.0"
description = "Enhanced multimodal fMRI brain encoding toolkit built on TRIBE v2"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [{name = "CortexLab Contributors"}]
dependencies = [
"neuralset==0.0.2",
"neuraltrain==0.0.2",
"torch>=2.5.1,<2.7",
"numpy>=2.0",
"torchvision>=0.20,<0.22",
"x_transformers==1.27.20",
"einops",
"pyyaml",
"moviepy>=2.2.1",
"huggingface_hub",
"gtts",
"langdetect",
"spacy",
"soundfile",
"julius",
"transformers",
"pydantic",
"exca",
"requests",
"tqdm",
"pandas",
]
[project.optional-dependencies]
plotting = [
"nibabel",
"matplotlib",
"seaborn",
"colorcet",
"nilearn",
"scipy",
"pyvista",
"scikit-image",
"mne",
]
training = [
"nibabel",
"torchmetrics",
"wandb",
"lightning",
]
streaming = [
"av",
]
analysis = [
"scipy",
]
dev = [
"pytest",
"pytest-cov",
"ruff",
]
[project.urls]
Repository = "https://github.com/siddhant-rajhans/cortexlab"
[tool.setuptools.packages.find]
where = ["src"]
include = ["cortexlab*"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501", "F401", "F403", "E402"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
|