-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (97 loc) · 2.94 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (97 loc) · 2.94 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]
requires = ["setuptools>=64", "setuptools-scm>=8", "setuptools-rust>=1.10"]
build-backend = "setuptools.build_meta"
[project]
name = "sainsc"
description = "Segmentation-free Analysis of In Situ Capture data"
readme = { file = "README.md", content-type = "text/markdown" }
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.12,<3.15"
dynamic = ["version"]
authors = [
{ name = "Niklas Müller-Bötticher", email = "niklas.mueller-boetticher@charite.de" },
]
dependencies = [
"anndata>=0.11",
"h5py>=3",
"matplotlib>=3.7",
"matplotlib-scalebar",
"numpy>=1.24",
"pandas>=2.0",
"polars[pandas]~=1.39",
"scikit-image>=0.20",
"scipy>=1.10",
"seaborn>=0.11",
]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Typing :: Typed",
]
[project.optional-dependencies]
spatialdata = ["spatialdata>=0.7.2"]
docs = [
"sphinx",
"sphinx-autoapi>=3.1",
"sphinx-copybutton",
"sphinx-rtd-theme",
"myst-nb",
]
data = ["pooch>=1"]
tutorial = [
"sainsc[data,spatialdata]",
"colorcet",
"scanpy>=1.12",
"squidpy",
"spatialdata-io",
"spatialdata-plot",
]
dev = ["sainsc[data,docs,spatialdata]", "pre-commit"]
[project.urls]
Homepage = "https://github.com/HiDiHlabs/sainsc"
Documentation = "https://sainsc.readthedocs.io"
Repository = "https://github.com/HiDiHlabs/sainsc"
Issues = "https://github.com/HiDiHlabs/sainsc/issues"
[tool]
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
include = ["sainsc", "sainsc.io", "sainsc.lazykde", "sainsc.utils"]
[tool.setuptools_scm]
[[tool.setuptools-rust.ext-modules]]
target = "sainsc._utils_rust"
[tool.ruff]
target-version = "py312"
fix = true
show-fixes = true
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
warn_no_return = false
packages = "sainsc"
[tool.codespell]
ignore-words-list = "coo,crate"
[tool.cibuildwheel]
archs = "auto64"
build = "cp312-*" # only build minimum python version because we use ABI3 builds
skip = "pp*" # skip PyPy
[tool.cibuildwheel.config-settings]
--build-option = "--py-limited-api=cp312"
[tool.cibuildwheel.linux]
# cibuildwheel runs linux in containers so we need to install rust there
before-all = "curl -sSf https://sh.rustup.rs | sh -s -- -y"
environment = { PATH = "$PATH:$HOME/.cargo/bin" }
[tool.cibuildwheel.macos]
# build for compatibility with macOS 11 and upwards
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0" }