pyproject.toml 1.02 KB
Newer Older
Matteo's avatar
Matteo committed
1
2
[tool.poetry]
name = "audio-analyzer"
Matteo's avatar
update    
Matteo committed
3
version = "1.0.0"
Matteo's avatar
Matteo committed
4
5
6
7
description = "MPAI CAE-ARP Audio Analyser"
authors = ["Matteo Spanio <dev2@audioinnova.com>"]
license = "GPLv3"
readme = "README.md"
Matteo's avatar
Matteo committed
8
9
10
11
12
13
14
packages = [
    { include = "audio_analyzer", from = "src" },
    { include = "ml", from = "src" }
]

[tool.poetry.scripts]
audio-analyser = 'audio_analyzer.cli:main'
Matteo's avatar
Matteo committed
15
16
17
18

[tool.poetry.dependencies]
python = "^3.10"
numpy = "1.23.3"
Matteo's avatar
update    
Matteo committed
19
rich = "^13.3.3"
Matteo's avatar
update    
Matteo committed
20
21
pandas = "^2.0.0"
scikit-learn = "^1.2.2"
Matteo's avatar
update    
Matteo committed
22
23
grpcio-tools = "^1.53.0"
mpai-cae-arp = "^0.3.0"
Matteo's avatar
update    
Matteo committed
24
ffmpeg-python = "^0.2.0"
Matteo's avatar
Matteo committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42


[tool.poetry.group.docs.dependencies]
sphinx = "^6.1.3"


[tool.poetry.group.dev.dependencies]
ruff = "^0.0.261"
pytest = "^7.3.0"
pytest-xdist = "^3.2.1"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 88
Matteo's avatar
update    
Matteo committed
43
src = ["src", "tests"]
Matteo's avatar
Matteo committed
44
45
46
47
48
49
50
51
select = [
    "E",    # pycodestyle
    "F",    # pyflakes
    "UP",   # pyupgrade
]

[tool.pytest.ini_options]
minversion = "6.0"
Matteo's avatar
update    
Matteo committed
52
addopts = "-ra -q -W error::RuntimeWarning"
Matteo's avatar
Matteo committed
53
testpaths = ["tests"]