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" }]
|
|
|
|
dynamic = ["version"]
|
|
|
|
|
|
|
|
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" }
|
|
|
|
|
|
|
|
dependencies = ["scipy", "numpy", "matplotlib", "appdirs", "dataclasses_json",
|
|
|
|
"h5py", "pybind11"]
|
|
|
|
|
|
|
|
[build-system] # How pip and other frontends should build this project
|
2023-07-18 15:06:40 +00:00
|
|
|
requires = ["py-build-cmake~=0.1.8", "setuptools_scm[toml]>=6.2"]
|
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
|
|
|
|
include = ["CMakeLists.txt", "cmake", "cpp_src", "python_src", "img", "scripts",
|
|
|
|
"third_party"]
|
|
|
|
|
|
|
|
[tool.py-build-cmake.cmake] # How to build the CMake project
|
|
|
|
build_type = "Release"
|
|
|
|
source_path = "."
|
|
|
|
build_args = ["-j"]
|
2023-07-18 15:06:40 +00:00
|
|
|
install_components = ["python_modules"]
|
|
|
|
|
|
|
|
[tool.setuptools_scm]
|
|
|
|
version_file = ["python_src/lasp/_version.py" , "cpp_src/_version.txt"]
|