-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
43 lines (41 loc) · 1.61 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
# ----------------- Build System -----------------
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
# ----------------- Metadata -----------------
[project]
name = "audioinfo"
description = "Count audio files in a directory."
authors = [{ name = "HAO Xiang", email = "haoxiangsnr@gmail.com" }]
readme = "README.md"
requires-python = ">=3.8"
version = "0.2.1"
classifiers = [
"Programming Language :: Python :: 3.8",
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Environment :: GPU :: NVIDIA CUDA",
"Operating System :: OS Independent",
]
dependencies = ["soundfile", "numpy", "plotille", "rich"]
[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
build = ["flit", "python-semantic-release"]
[project.urls]
Documentation = "https://github.com/haoxiangsnr/audioinfo"
Source = "https://github.com/haoxiangsnr/audioinfo"
[project.scripts]
audioinfo = "audioinfo.main:main" # call the function main() imported from audioinfo
# ----------------- Tools Configuration -----------------
[tool.semantic_release]
version_toml = "pyproject.toml:project.version" # version location
branch = "main" # branch to make releases
changelog_file = "CHANGELOG.md" # changelog file
build_command = "flit build" # build dists
upload_to_release = true # auto-create GitHub release
upload_to_repository = false # don't auto-upload to PyPI
remove_dist = false # don't remove dists
patch_without_tag = false # patch release by default
commit_author = "haoxiangsnr <haoxiangsnr@gmail.com>"
commit_subject = "Release {version}"
commit_message = "" # commit message