2023-07-14 14:40:57 +00:00
|
|
|
[project]
|
|
|
|
name = "lasp"
|
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.10"
|
|
|
|
description = "Library for Acoustic Signal Processing"
|
|
|
|
license = { "file" = "LICENSE" }
|
|
|
|
authors = [{ "name" = "J.A. de Jong", "email" = "j.a.dejong@ascee.nl" }]
|
2024-03-14 07:47:32 +00:00
|
|
|
version = "1.5.1"
|
2023-07-14 14:40:57 +00:00
|
|
|
|
|
|
|
keywords = ["DSP", "DAQ", "Signal processing"]
|
|
|
|
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Topic :: Scientific/Engineering",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Operating System :: POSIX :: Linux",
|
|
|
|
"Operating System :: Microsoft :: Windows",
|
|
|
|
]
|
|
|
|
urls = { "Documentation" = "https://lasp.ascee.nl" }
|
|
|
|
|
2024-01-20 10:52:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"scipy",
|
|
|
|
"matplotlib>=3.7.2",
|
|
|
|
"appdirs",
|
|
|
|
"dataclasses_json",
|
|
|
|
"h5py",
|
|
|
|
]
|
2023-07-14 14:40:57 +00:00
|
|
|
|
|
|
|
[build-system] # How pip and other frontends should build this project
|
2024-01-20 10:52:16 +00:00
|
|
|
requires = ["py-build-cmake~=0.1.8", "pybind11"]
|
2023-07-14 14:40:57 +00:00
|
|
|
build-backend = "py_build_cmake.build"
|
|
|
|
|
|
|
|
[tool.py-build-cmake.module] # Where to find the Python module to package
|
|
|
|
directory = "python_src"
|
|
|
|
|
|
|
|
[tool.py-build-cmake.sdist] # What to include in source distributions
|
2024-01-20 10:52:16 +00:00
|
|
|
include = [
|
|
|
|
"CMakeLists.txt",
|
|
|
|
"cmake",
|
|
|
|
"cpp_src",
|
|
|
|
"python_src",
|
|
|
|
"img",
|
|
|
|
"scripts",
|
|
|
|
"third_party",
|
|
|
|
]
|
2023-07-14 14:40:57 +00:00
|
|
|
|
|
|
|
[tool.py-build-cmake.cmake] # How to build the CMake project
|
|
|
|
build_type = "Release"
|
|
|
|
source_path = "."
|
2024-01-20 10:52:16 +00:00
|
|
|
options = { "LASP_HAS_PORTAUDIO" = "ON", "LASP_HAS_RTAUDIO" = "OFF" }
|
2024-01-25 14:31:53 +00:00
|
|
|
build_args = ["-j"]
|
2023-07-18 15:06:40 +00:00
|
|
|
install_components = ["python_modules"]
|
|
|
|
|
2023-07-24 15:24:12 +00:00
|
|
|
[tool.py-build-cmake.editable]
|
|
|
|
# This might not work properly on Windows. Comment this out when testing on
|
|
|
|
# Windows.
|
|
|
|
mode = "symlink"
|
|
|
|
|
2023-07-18 15:12:34 +00:00
|
|
|
[tool.commitizen]
|
|
|
|
name = "cz_conventional_commits"
|
|
|
|
tag_format = "v$version"
|
|
|
|
version_scheme = "semver"
|
|
|
|
version_provider = "pep621"
|
|
|
|
update_changelog_on_bump = true
|