-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
74 lines (68 loc) · 1.48 KB
/
pyproject.toml
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
[project]
name = "fastwave"
version = "0.0.1"
description = "TBA" # TODO
readme = "README.md"
requires-python = ">=3.9, <3.12"
authors = [
{ name = "Jan Iwaszkiewicz", email = "[email protected]" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"numpy >= 1.24.4",
# "nanobind >= 1.5.2", # use submodule
"wheel >= 0.36.0",
]
[project.optional-dependencies]
linters = [
"black",
"flake8",
"flake8-pyproject",
]
tests = [
"pytest",
"numpy >= 1.24.4",
"scipy",
]
benchmark = [
"numpy >= 1.24.4",
"scipy",
"torchaudio",
"librosa",
"pydub",
"matplotlib",
"seaborn == 0.13.0",
]
[tool.pdm.scripts]
# TODO:
# python -m flake8 src/ tests/
# python -m black src/ tests/
[tool.pdm]
# plugins = [
# ...
# ]
[build-system]
requires = ["scikit-build-core >= 0.4.3"] # , "nanobind >= 1.5.2"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
# Protect the configuration against future changes in scikit-build-core
minimum-version = "0.4"
# Setuptools-style build caching in a local directory
build-dir = "build/{wheel_tag}"
# Build stable ABI wheels for CPython 3.12+
wheel.py-api = "cp312"
[tool.flake8]
# Check that this is aligned with your other tools like Black
max-line-length = 120
exclude = [
".git",
"__pycache__"
]
extend-ignore = [
"F401"
]