-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
82 lines (75 loc) · 1.71 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "scalex"
authors = [{name = "Lei Xiong"}]
version = "1.0.6"
readme = "README.md"
requires-python = ">=3.7"
description = "Online single-cell data integration through projecting heterogeneous datasets into a common cell-embedding space"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Intended Audience :: Science/Research"
]
dependencies = [
"numpy>=1.26.4",
"pandas>=2.2.2",
"scipy>=1.13.0",
"scikit-learn>=1.4.2",
"torch>=2.2.2",
"scanpy>=1.10.1",
"tqdm>=4.66.2",
"matplotlib>=3.8.4",
"seaborn>=0.13.2",
"leidenalg>=0.8.3",
"gseapy",
]
[project.scripts]
SCALEX = "scalex.function:main"
[project.optional-dependencies]
dev = [
"pre-commit",
"twine>=4.0.2",
]
doc = [
"docutils>=0.8,!=0.18.*,!=0.19.*",
"sphinx>=4",
"sphinx-book-theme>=1.0.0",
"myst-nb",
"sphinxcontrib-bibtex>=1.0.0",
"sphinx-autodoc-typehints",
"sphinxext-opengraph",
"nbsphinx",
# For notebooks
"ipykernel",
"ipython",
"sphinx-copybutton",
"pandas",
]
test = [
"pytest>=6.0",
"coverage",
]
[tool.coverage.run]
source = ["scalex"]
omit = [
"**/test_*.py",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
xfail_strict = true
addopts = [
"--import-mode=importlib", # allow using test files with same name
]
[tool.ruff]
line-length = 120
src = ["scalex"]
extend-include = ["*.ipynb"]
[tool.ruff.format]
docstring-code-format = true