-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
69 lines (60 loc) · 1.67 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "scistree2"
dynamic = ["version"]
description = "Large-scale Inference of Cell Lineage Trees and Genotype Calling from Noisy Single-Cell Data Using Efficient Local Search"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "GPL3" }
authors = [
{ name = "Haotian Zhang", email = "haotianzh@uconn.edu" },
{ name = "Yiming Zhang", email = "ymzhang052@gmail.com"},
{ name = "Yufeng Wu", email = "yufeng.wu@uconn.edu" }
]
keywords = ["cell lineage tree", "fast inference"]
dependencies = [
"numpy",
"pandas",
"pptree",
"phytreeviz"
]
[tool.setuptools.dynamic]
version = {attr = "scistree2.__version__"}
[tool.cibuildwheel]
skip = "cp36-* *-win32 pp*"
# --- LINUX BUILD ---
[tool.cibuildwheel.linux]
before-build = """
mkdir -p scistree2/bin && \
cd src && \
make clean && \
make && \
mv scistree ../scistree2/bin/scistree
"""
# --- MACOS BUILD ---
[tool.cibuildwheel.macos]
before-build = """
mkdir -p scistree2/bin && \
cd src && \
make clean && \
make && \
mv scistree ../scistree2/bin/scistree
"""
# --- WINDOWS BUILD ---
[tool.cibuildwheel.windows]
# 1. Create bin dir
# 2. Enter src dir
# 3. Run nmake on Makefile.win (generates scistree.exe inside src/)
# 4. Move binary up to scistree/bin/
before-build = """
if not exist scistree2\\bin mkdir scistree2\\bin && \
cd src && \
nmake /f Makefile.win clean && \
nmake /f Makefile.win && \
move scistree.exe ..\\scistree2\\bin\\scistree.exe
"""
[project.urls]
Homepage = "https://github.com/yufengwudcs/ScisTree2"
"Bug Tracker" = "https://github.com/yufengwudcs/ScisTree2/issues"