Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (106 loc) · 3.74 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (106 loc) · 3.74 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["setuptools>=61", "setuptools-rust", "setuptools_scm>=6.2", "wheel", "Cython", "numpy"]
# requires = ["setuptools>=61", "wheel", "Cython", "numpy"]
build-backend = "setuptools.build_meta"
[project]
name = "vhs_decode"
description = "Software Decoder for raw rf captures of laserdisc, vhs and other analog video formats"
readme = "README_pypi.md"
requires-python = ">=3.11"
keywords = ["laserdisc", "vhs", "video", "tape", "decoder"]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Rust",
"Topic :: Multimedia :: Video",
"Topic :: Multimedia :: Video :: Capture",
]
dependencies = [
"cython",
"matplotlib",
"noisereduce>=2.0.0",
"numba>=0.59",
"numpy>=1.24",
"scipy>=1.11",
"setproctitle",
"sounddevice",
"soundfile>=0.13.1",
"soxr",
"static-ffmpeg",
"av",
]
dynamic = ["version"]
# version = "0.2.1dev0"
[project.optional-dependencies]
intel = [ "intel-cmplr-lib-rt", "icc_rt" ]
hifi_gui = [ "PyQt5>=5.14.1" ]
hifi_gui_qt6 = [ "PyQt6>=6.4.2" ]
# Can probably be depcretaded now since it's also an option in vhs-decode to use it.
hifi_gnuradio = [ "pyzmq" ]
gnuradio = [ "pyzmq" ]
test = [ "pytest>=7.0" ]
[project.scripts]
ld-decode = "lddecode.main:main"
ld-ldf-reader = "lddecode.ldf_reader:main"
ld-ldf-reader-py = "lddecode.ldf_reader:main"
ld-lds-reader = "lddecode.lds_reader:main"
vhs-decode = "vhsdecode.main:main"
cvbs-decode = "cvbsdecode.main:main"
hifi-decode = "vhsdecode.hifi.main:main"
filter-tune = "filter_tune.filter_tune:main"
decode-launcher = "vhsdecode.decode_launcher:main"
#[console_scripts]
# TODO: These should maybe be made modules too
#ld-cut = "ld-cut"
#cx-expander = "cx-expander"
#tbc-video-export = "tbc-video-export"
[project.urls]
Homepage = "https://www.domesday86.com"
Repository = "https://github.com/oyvindln/vhs-decode"
Documentation = "https://github.com/oyvindln/vhs-decode/wiki"
Issues = "https://github.com/oyvindln/vhs-decode/issues"
[tool.setuptools_scm]
write_to = "vhsdecode/_version.py"
local_scheme = "no-local-version"
# Restrict git describe/version parsing to real version tags (avoid tags like "rev4.0" breaking builds)
git_describe_command = "git describe --dirty --tags --long --match [0-9]* --match v[0-9]*"
tag_regex = '^(?:v)?(?P<version>\d+(?:\.\d+)*(?:(?:a|b|rc)\d*)?)$'
[tool.setuptools.package-data]
lddecode = ["py.typed", "version", "sinc_lut.npz"]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 100
[tool.pylint]
max-line-length = 100
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
[[tool.setuptools-rust.ext-modules]]
# Private Rust extension module to be nested into the Python package
target = "vhsd_rust"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
markers = [
"integration: end-to-end decode tests requiring real RF data",
]
# Needed to prevent building for older macos versions not supported by rust - see https://cibuildwheel.pypa.io/en/stable/faq/#building-rust-wheels
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.12"