-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (53 loc) · 1.65 KB
/
pyproject.toml
File metadata and controls
60 lines (53 loc) · 1.65 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
[build-system]
requires = [ "setuptools",
"setuptools_scm",
"wheel",
"Cython",
"numpy",
"scipy",
"dendropy",
"pandas" ]
build-backend = "setuptools.build_meta"
[project]
name = "SuchTree"
description = "A python library for doing fast, thread-safe computations on phylogenetic trees"
readme = "README.md"
#readme-content-type = "text/markdown"
authors = [ { name = "Russell Neches", email = "science@vort.org" } ]
license = "BSD-3-Clause"
keywords = [ "biology", "bio", "phylogenetics", "phylogeny", "tree" ]
urls = { "Homepage" = "https://github.com/ryneches/SuchTree" }
classifiers = [ "Programming Language :: Python :: 3" ]
dependencies = [
"cython",
"numpy",
"scipy",
"pandas",
"dendropy"
]
dynamic = ["version"]
[tool.setuptools.packages.find]
where = ["."]
include = ["SuchTree*"]
exclude = ["SuchTree.tests*", "tests*"]
[tool.setuptools.package-data]
SuchTree = [ "*.so", "*.pyd" ]
# Use the __version__ attribute from the package
[tool.setuptools_scm]
local_scheme = "no-local-version"
version_scheme = "only-version"
write_to = "SuchTree/__version__.py"
write_to_template = "__version__ = '{version}'\n"
# build wheels for amd64 x86_64
[tool.cibuildwheel.linux]
before-all = "yum -y install lapack-devel blas-devel atlas-devel"
archs = "aarch64 x86_64"
skip = "*musllinux*"
# build wheels for Intel and Apple silicon
[tool.cibuildwheel.macos]
archs = "arm64 x86_64"
# pytest config for testing in place
[tool.pytest.ini_options]
addopts = "-ra -p no:warnings --pdbcls=IPython.terminal.debugger:TerminalPdb"
testpaths = ["SuchTree/tests"]
pythonpath = ["SuchTree"]