build(Testing): Not yet
This commit is contained in:
parent
72716ecd39
commit
914da89819
8
.pre-commit-config.yaml
Normal file
8
.pre-commit-config.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/commitizen-tools/commitizen
|
||||||
|
rev: master
|
||||||
|
hooks:
|
||||||
|
- id: commitizen
|
||||||
|
- id: commitizen-branch
|
||||||
|
stages: [push]
|
@ -1,7 +1,6 @@
|
|||||||
cmake_minimum_required (VERSION 3.16)
|
cmake_minimum_required (VERSION 3.16)
|
||||||
project(LASP LANGUAGES C CXX VERSION 1.0)
|
project(LASP LANGUAGES C CXX VERSION 1.0)
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED)
|
set(CMAKE_CXX_STANDARD_REQUIRED)
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ dependencies = ["scipy", "numpy", "matplotlib", "appdirs", "dataclasses_json",
|
|||||||
"h5py", "pybind11"]
|
"h5py", "pybind11"]
|
||||||
|
|
||||||
[build-system] # How pip and other frontends should build this project
|
[build-system] # How pip and other frontends should build this project
|
||||||
requires = ["py-build-cmake~=0.1.8", "setuptools-scm"]
|
requires = ["py-build-cmake~=0.1.8", "setuptools_scm[toml]>=6.2"]
|
||||||
build-backend = "py_build_cmake.build"
|
build-backend = "py_build_cmake.build"
|
||||||
|
|
||||||
[tool.py-build-cmake.module] # Where to find the Python module to package
|
[tool.py-build-cmake.module] # Where to find the Python module to package
|
||||||
@ -40,4 +40,7 @@ include = ["CMakeLists.txt", "cmake", "cpp_src", "python_src", "img", "scripts",
|
|||||||
build_type = "Release"
|
build_type = "Release"
|
||||||
source_path = "."
|
source_path = "."
|
||||||
build_args = ["-j"]
|
build_args = ["-j"]
|
||||||
install_components = ["python_modules", "python_stubs"]
|
install_components = ["python_modules"]
|
||||||
|
|
||||||
|
[tool.setuptools_scm]
|
||||||
|
version_file = ["python_src/lasp/_version.py" , "cpp_src/_version.txt"]
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
LASP: Library for Acoustic Signal Processing
|
LASP: Library for Acoustic Signal Processing
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
from ._version import *
|
||||||
from .lasp_cpp import *
|
from .lasp_cpp import *
|
||||||
import lasp.lasp_cpp
|
import lasp.lasp_cpp
|
||||||
from .lasp_common import *
|
from .lasp_common import *
|
||||||
__version__ = lasp_cpp.__version__
|
|
||||||
|
|
||||||
# from .lasp_imptube import * # TwoMicImpedanceTube
|
# from .lasp_imptube import * # TwoMicImpedanceTube
|
||||||
from .lasp_measurement import * # Measurement, scaleBlockSens
|
from .lasp_measurement import * # Measurement, scaleBlockSens
|
||||||
|
Loading…
Reference in New Issue
Block a user