-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1.31 KB
/
Copy pathsetup.py
File metadata and controls
37 lines (32 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import glob
import importlib.util
import os
_version_file = os.path.join(os.path.dirname(__file__), "src", "umik_base_app", "_version.py")
_spec = importlib.util.spec_from_file_location("_version", _version_file)
_mod = importlib.util.module_from_spec(_spec)
_spec.loader.exec_module(_mod)
__version__ = _mod.__version__
from setuptools import find_packages, setup
_calibration_files = glob.glob("calibration/*.txt")
setup(
version=__version__,
data_files=[("/usr/share/audio-tools/calibration", _calibration_files)] if _calibration_files else [],
package_dir={"": "src"},
packages=find_packages(
where="src",
include=["umik_base_app", "umik_base_app.*"],
),
description="Base utilities for audio measurement with UMIK microphones.",
long_description=(
"This package provides the 'audio-tools' CLI for audio measurement and calibration\n"
"using measurement microphones like the miniDSP UMIK-1 and UMIK-2. It includes:\n"
"\n"
" * Real-time SPL / LUFS / dBFS meter\n"
" * Calibrated audio recorder (WAV)\n"
" * Microphone calibration and FIR filter generation\n"
" * Audio metrics analysis and visualization\n"
" * WAV to OGG/MP3/AAC converter\n"
"\n"
"Designed for Linux (Raspberry Pi, Ubuntu) and macOS."
),
)