Skip to content

Commit 09780c6

Browse files
committed
a
1 parent 7c8fe47 commit 09780c6

3 files changed

Lines changed: 539 additions & 19 deletions

File tree

pyproject.toml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
11
[build-system]
2-
requires = ["hatchling>=1.21"]
3-
build-backend = "hatchling.build"
2+
requires = ["setuptools>=69", "wheel"]
3+
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyXenium"
7-
version = "0.1.1"
8-
description = "Tools for reading and analyzing 10x Xenium data (toy dataset included)"
7+
version = "0.1.2"
8+
description = "Tools for reading and analyzing 10x Xenium data"
99
readme = "README.md"
10-
authors = [{ name = "Taobo Hu", email = "taobo.hu@dbb.su.se" }]
10+
requires-python = ">=3.8"
1111
license = { text = "MIT" }
12-
requires-python = ">=3.9"
12+
authors = [{ name = "Taobo Hu", email = "taobo.hu@dbb.su.se" }]
1313
dependencies = [
14+
"anndata>=0.10",
15+
"click>=8.1",
16+
"matplotlib>=3.8",
1417
"numpy>=1.24",
1518
"pandas>=2.0",
16-
"anndata>=0.10",
17-
"zarr>=2.16",
1819
"scikit-learn>=1.3",
1920
"scipy>=1.10",
20-
"matplotlib>=3.8",
2121
"tqdm>=4.66",
22-
"click>=8.1",
22+
"zarr>=2.16",
2323
]
2424

25-
[project.scripts]
26-
pyxenium = "pyxenium.__main__:app"
27-
28-
[tool.hatch.build]
29-
include = ["src/pyxenium/**", "README.md", "LICENSE", "docs/**", "mkdocs.yml"]
25+
[tool.setuptools]
26+
package-dir = {"" = "src"}
3027

31-
[tool.hatch.build.targets.wheel]
32-
packages = ["src/pyxenium"]
28+
[tool.setuptools.packages.find]
29+
where = ["src"]
30+
include = ["pyXenium*"]
3331

34-
[tool.pytest.ini_options]
35-
addopts = "-q"
32+
[tool.setuptools.package-data]
33+
pyXenium = ["data/**", "*.csv", "*.zarr", "*.txt"]

src/pyXenium/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
from ._version import __version__
2+
from .io.partial_xenium_loader import load_anndata_from_partial

0 commit comments

Comments
 (0)