-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (111 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
118 lines (111 loc) · 2.91 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "cython>=3.0.12", "setuptools" ]
[project]
name = "scloop"
version = "0.1.25"
description = "single-cell loop analysis"
readme = "README.md"
authors = [
{ name = "Zhiyuan(Stan) Yu and Idse Heemskerk", email = "zyyu@umich.edu" },
]
requires-python = ">=3.12"
# tensorflow hasn't supported 3.13 yet
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"cython>=3.0.12",
"glasbey==0.3",
"igraph>=0.11",
"loguru==0.7.3",
"numba>=0.62.1",
"numpy<2",
"pandas<2",
"pip>=25.2",
"pydantic>=2.11.4",
"pygam>=0.12",
"pynndescent>=0.5.13",
"pytest>=8.4",
"rich==14.2",
"scanpy[leiden]>=1.11.2",
"scikit-misc>=0.5.2",
"statsmodels==0.14.4",
"tensorflow>=2.18.1",
"torch",
"torchdyn>=1.0.6",
"torchvision",
"tqdm-joblib>=0.0.5",
"umap-learn>=0.5.7",
]
urls.Issues = "https://github.com/stanfish06/scloop/issues"
urls.Repository = "https://github.com/stanfish06/scloop.git"
[dependency-groups]
dev = [
"fa2-modified>=0.4",
"magic-impute>=3",
"phate>=2",
"pyright==1.1.406",
"ruff>=0.15.5",
"scvi-tools>=1.4.1",
"ty>=0.0.1a34",
]
[tool.uv]
sources.torch = [
{ index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
]
sources.torchvision = [
{ index = "pytorch-cu128", marker = "sys_platform == 'linux'" },
]
index = [ { name = "pytorch-cu128", url = "https://download.pytorch.org/whl/cu128", explicit = true } ]
extra-build-dependencies.pandas = [
"setuptools<81"
] # specify this if need to build <2.0.0 pandas (torch.load needs old pandas)
extra-build-dependencies.scloop = [ "Cython" ]
package = true
[tool.ruff]
format.indent-style = "space"
format.quote-style = "double"
lint.extend-select = [ "I" ]
lint.fixable = [ "ALL" ]
[tool.pyproject-fmt]
column_width = 120
indent = 2
keep_full_version = false
max_supported_python = "3.12"
# use 1.1.406 pyright or a version after 1.1.407 (does not work well with pydantic dataclass)
[tool.pyright]
include = [ "src" ]
exclude = [
"**/__pycache__",
"examples",
"**/*.pyx",
"**/*.pxd",
]
reportMissingImports = "error"
reportMissingTypeStubs = false
pythonVersion = "3.12"
pythonPlatform = "All"
executionEnvironments = [
{ root = "src" },
]
venvPath = "."
venv = ".venv"
[tool.ty]
src = { include = [ "src" ] }
# [tool.setuptools]
# package-dir = { "" = "src" }
# ext-modules = [
# { name = "scloop.data.ripser_lib", sources = [
# "./src/scloop/data/ripser_lib.pyx",
# "./src/scloop/data/ripser.cpp",
# ], language = "c++", optional = false },
# { name = "scloop.utils.linear_algebra_gf2.m4ri_lib", sources = [
# "./src/scloop/utils/linear_algebra_gf2/m4ri_lib.pyx",
# ], language = "c", optional = false, libraries = ["m4ri"], extra-objects = [
# "./src/scloop/utils/linear_algebra_gf2/libm4ri.a",
# ], include-dirs = [
# "./src/scloop/utils/linear_algebra_gf2/include",
# ] },
# ]