mirror of
https://github.com/macaodha/batdetect2.git
synced 2025-06-29 14:41:58 +02:00
change pyproject metadata to use uv and hatch instead of pdm
This commit is contained in:
parent
3f34164028
commit
c65fe1c9f9
@ -1,82 +1,76 @@
|
|||||||
[tool.pdm]
|
|
||||||
[tool.pdm.dev-dependencies]
|
|
||||||
dev = [
|
|
||||||
"pytest>=7.2.2",
|
|
||||||
]
|
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "batdetect2"
|
name = "batdetect2"
|
||||||
version = "1.0.8"
|
version = "1.0.8"
|
||||||
description = "Deep learning model for detecting and classifying bat echolocation calls in high frequency audio recordings."
|
description = "Deep learning model for detecting and classifying bat echolocation calls in high frequency audio recordings."
|
||||||
authors = [
|
authors = [
|
||||||
{ "name" = "Oisin Mac Aodha", "email" = "oisin.macaodha@ed.ac.uk" },
|
{ "name" = "Oisin Mac Aodha", "email" = "oisin.macaodha@ed.ac.uk" },
|
||||||
{ "name" = "Santiago Martinez Balvanera", "email" = "santiago.balvanera.20@ucl.ac.uk" }
|
{ "name" = "Santiago Martinez Balvanera", "email" = "santiago.balvanera.20@ucl.ac.uk" },
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"librosa>=0.10.1",
|
"librosa>=0.10.1",
|
||||||
"matplotlib>=3.7.1",
|
"matplotlib>=3.7.1",
|
||||||
"numpy>=1.23.5",
|
"numpy>=1.23.5",
|
||||||
"pandas>=1.5.3",
|
"pandas>=1.5.3",
|
||||||
"scikit-learn>=1.2.2",
|
"scikit-learn>=1.2.2",
|
||||||
"scipy>=1.10.1",
|
"scipy>=1.10.1",
|
||||||
"torch>=1.13.1",
|
"torch>=1.13.1",
|
||||||
"torchaudio",
|
"torchaudio",
|
||||||
"torchvision",
|
"torchvision",
|
||||||
"click>=8.1.7",
|
"click>=8.1.7",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.8,<3.12"
|
requires-python = ">=3.8,<3.12"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { text = "CC-by-nc-4" }
|
license = { text = "CC-by-nc-4" }
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Intended Audience :: Science/Research",
|
"Intended Audience :: Science/Research",
|
||||||
"Natural Language :: English",
|
"Natural Language :: English",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
"Topic :: Multimedia :: Sound/Audio :: Analysis",
|
"Topic :: Multimedia :: Sound/Audio :: Analysis",
|
||||||
]
|
]
|
||||||
keywords = [
|
keywords = [
|
||||||
"bat",
|
"bat",
|
||||||
"echolocation",
|
"echolocation",
|
||||||
"deep learning",
|
"deep learning",
|
||||||
"audio",
|
"audio",
|
||||||
"machine learning",
|
"machine learning",
|
||||||
"classification",
|
"classification",
|
||||||
"detection",
|
"detection",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["pdm-pep517>=1.0.0"]
|
requires = ["hatchling"]
|
||||||
build-backend = "pdm.pep517.api"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
batdetect2 = "batdetect2.cli:cli"
|
batdetect2 = "batdetect2.cli:cli"
|
||||||
|
|
||||||
[tool.black]
|
[tool.uv]
|
||||||
|
dev-dependencies = ["pytest>=7.2.2"]
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
line-length = 79
|
line-length = 79
|
||||||
|
target-version = "py39"
|
||||||
|
|
||||||
[[tool.mypy.overrides]]
|
[tool.ruff.format]
|
||||||
module = [
|
docstring-code-format = true
|
||||||
"librosa",
|
docstring-code-line-length = 79
|
||||||
"pandas",
|
|
||||||
]
|
|
||||||
ignore_missing_imports = true
|
|
||||||
|
|
||||||
[tool.pylsp-mypy]
|
[tool.ruff.lint]
|
||||||
enabled = false
|
select = ["E4", "E7", "E9", "F", "B", "Q", "I", "D"]
|
||||||
live_mode = true
|
ignore = ["D1"]
|
||||||
strict = true
|
|
||||||
|
|
||||||
[tool.pydocstyle]
|
[tool.ruff.lint.pydocstyle]
|
||||||
convention = "numpy"
|
convention = "numpy"
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
include = [
|
include = ["bat_detect", "tests"]
|
||||||
"bat_detect",
|
|
||||||
"tests",
|
|
||||||
]
|
|
||||||
venvPath = "."
|
venvPath = "."
|
||||||
venv = ".venv"
|
venv = ".venv"
|
||||||
|
pythonVersion = "3.9"
|
||||||
|
pythonPlatform = "All"
|
||||||
|
Loading…
Reference in New Issue
Block a user