-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
98 lines (89 loc) · 2.69 KB
/
pyproject.toml
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
87
88
89
90
91
92
93
94
95
96
97
98
[tool.poetry]
name = "sopa"
version = "1.1.6"
description = "Spatial-omics pipeline and analysis"
documentation = "https://gustaveroussy.github.io/sopa"
homepage = "https://gustaveroussy.github.io/sopa"
repository = "https://github.com/gustaveroussy/sopa"
authors = ["Quentin Blampey <[email protected]>"]
packages = [{ include = "sopa" }]
license = "BSD-3-Clause"
readme = "README.md"
classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
[tool.poetry.scripts]
sopa = "sopa.main:app"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
spatialdata = ">=0.2.6"
spatialdata-io = ">=0.1.6"
scanpy = ">=1.9.8"
botocore = "1.34.19"
typer = ">=0.9.0"
setuptools = ">=69.2.0"
cellpose = { version = ">=3.0.5", optional = true }
opencv-python = { version = ">=4.8.0.76", optional = true }
torch = { version = ">=2.0.0, !=2.0.1, !=2.1.0", optional = true }
toml = { version = ">=0.10.2", optional = true }
loompy = { version = ">=3.0.7", optional = true }
tangram-sc = { version = ">=1.0.4", optional = true }
snakemake = { version = "^7.32.4,<8.1.3", optional = true }
pulp = { version = "^2.3.1,<2.8", optional = true }
tiffslide = { version = "^2.3.1", optional = true }
black = { version = ">=22.8.0", optional = true }
isort = { version = ">=5.10.1", optional = true }
pytest = { version = ">=7.1.3", optional = true }
ipykernel = { version = ">=6.25.2", optional = true }
mkdocs-material = { version = ">=9.3.2", optional = true }
mkdocs-jupyter = { version = ">=0.24.6", optional = true }
mkdocstrings = { version = ">=0.23.0", optional = true }
mkdocstrings-python = { version = ">=1.7.3", optional = true }
flake8 = { version = ">=7.0.0", optional = true }
[tool.poetry.extras]
cellpose = ["cellpose", "opencv-python", "torch"]
baysor = ["toml", "loompy"]
tangram = ["tangram-sc"]
snakemake = ["snakemake", "pulp"]
wsi = ["tiffslide", "opencv-python", "torch"]
dev = [
"black",
"isort",
"pytest",
"ipykernel",
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"mkdocs-jupyter",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
skip_glob = ["*/__init__.py"]