-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (113 loc) · 3.8 KB
/
pyproject.toml
File metadata and controls
125 lines (113 loc) · 3.8 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
119
120
121
122
123
124
125
[build-system]
requires = ["scikit-build-core", "cython >=3.0"]
build-backend = "scikit_build_core.build"
[project]
name = "pyfastani"
version = "0.6.1"
description = "Cython bindings and Python interface to FastANI, a method for fast whole-genome similarity estimation."
readme = "README.md"
requires-python = ">=3.7"
license = { file = "COPYING" }
authors = [
{ name = "Martin Larralde", email = "martin.larralde@embl.de" },
]
keywords = ["bioinformatics", "genomics", "average", "nucleotide", "identity"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: C++",
"Programming Language :: Cython",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Typing :: Typed",
]
[project.urls]
"Documentation" = "https://pyfastani.readthedocs.io/en/stable/"
"Bug Tracker" = "https://github.com/althonos/pyfastani/issues"
"Changelog" = "https://github.com/althonos/pyfastani/blob/main/CHANGELOG.md"
"Coverage" = "https://codecov.io/gh/althonos/pyfastani/"
"Builds" = "https://github.com/althonos/pyfastani/actions"
"PyPI" = "https://pypi.org/project/pyfastani"
"PiWheels" = "https://www.piwheels.org/project/pyfastani/"
[tool.scikit-build]
build-dir = "build/{build_type}"
editable.rebuild = true
editable.verbose = false
sdist.exclude = [
".github",
"benches/data",
"vendor/boost-math/test",
"vendor/boost-math/doc",
"vendor/boost-math/reporting",
"vendor/boost-math/example",
"vendor/FastANI/data",
"src/pyfastani/tests/data/Shigella_flexneri_2a_01.fna",
"src/pyfastani/tests/data/Escherichia_coli_str_K12_MG1655.fna",
]
[[tool.scikit-build.generate]]
path = "src/pyfastani/_version.py"
template = '__version__ = "${version}"'
location = 'source'
[[tool.scikit-build.overrides]]
if.state = "editable"
cmake.build-type = "Debug"
[[tool.scikit-build-overrides]]
if.env.SCCACHE = true
cmake.define.CMAKE_C_COMPILER_LAUNCHER = "sccache"
cmake.define.CMAKE_CXX_COMPILER_LAUNCHER = "sccache"
[[tool.scikit-build-overrides]]
if.env.MOLD = true
cmake.define.CMAKE_LINKER_TYPE = "mold"
[tool.cibuildwheel]
free-threaded-support = false
before-build = "pip install scikit-build-core cython"
build-frontend = { name = "pip", args = ["--no-build-isolation"] }
build-verbosity = 1
test-command = "python -m unittest pyfastani.tests -v"
[tool.coverage.run]
plugins = ["Cython.Coverage"]
[tool.coverage.report]
include = ["src/pyfastani/*"]
omit = ["src/pyfastani/tests/*"]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if typing.TYPE_CHECKING:",
"@abc.abstractmethod",
"@abc.abstractproperty",
"raise NotImplementedError",
"return NotImplemented",
"raise UnexpectedError",
"raise AllocationError",
]
[tool.coverage.paths]
source = [
"src/pyfastani/",
"build/Debug/src/pyfastani/",
"build/Release/src/pyfastani/",
]
[tool.mypy]
disallow_any_decorated = true
disallow_any_generics = true
disallow_any_unimported = false
disallow_subclassing_any = false
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_return_any = true
exclude = ["tests/.*\\.py"]
["tool.mypy-pyfastani.tests.*"]
ignore_errors = true