-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 2.51 KB
/
pyproject.toml
File metadata and controls
74 lines (65 loc) · 2.51 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
[build-system]
requires = ["scikit-build-core>=0.10", "nanobind>=2.0"]
build-backend = "scikit_build_core.build"
[project]
name = "harmonypy"
version = "2.0.0"
description = "Batch correction for single-cell data using the Harmony algorithm with a C++ Armadillo backend."
readme = "README.md"
license = "GPL-3.0-or-later"
requires-python = ">=3.9"
authors = [
{ name = "Kamil Slowikowski", email = "kslowikowski@gmail.com" },
{ name = "John Arevalo", email = "johnarevalo@gmail.com" }
]
keywords = ["harmony", "batch-correction", "integration", "single-cell", "bioinformatics"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: C++",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"numpy",
]
[project.optional-dependencies]
test = [
"pandas",
"pytest>=8.4.2",
"scipy",
]
[project.urls]
Homepage = "https://github.com/slowkow/harmonypy"
Repository = "https://github.com/slowkow/harmonypy"
Issues = "https://github.com/slowkow/harmonypy/issues"
Changelog = "https://github.com/slowkow/harmonypy/blob/master/CHANGELOG.md"
[tool.scikit-build]
wheel.packages = ["harmonypy"]
sdist.exclude = ["scripts", "figures", "data", "tests", ".claude", ".cursor", ".github"]
build.verbose = true
build-dir = "/tmp/harmonypy-build/{wheel_tag}"
ninja.make-fallback = true
[tool.scikit-build.cmake.define]
CMAKE_BUILD_TYPE = "Release"
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
skip = "*-musllinux_* *-win32 *-manylinux_i686"
test-requires = ["pytest"]
test-command = "mkdir -p /tmp/hptest/data && cp -r {project}/tests /tmp/hptest/ && cp {project}/data/pbmc_3500_*.tsv.gz /tmp/hptest/data/ && cd /tmp/hptest && pytest tests/test_harmony.py::test_run_harmony_small -v"
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"]
before-all = "yum install -y epel-release && yum install -y openblas-devel lapack-devel || apk add openblas-dev lapack-dev"
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "11.0"