-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 2.42 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (65 loc) · 2.42 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "logicxkit"
version = "0.9.0"
description = "Logic Pro project and channel-strip tooling, and Audio Unit preset and state decoding"
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
authors = [{ name = "Mike Farr" }]
keywords = ["logic-pro", "audio-unit", "channel-strip", "daw", "reverse-engineering", "macos"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Sound/Audio",
"Typing :: Typed",
]
dependencies = [
# Foundation tier + the pf_core.guards gate bin/run lint runs. Must match
# x32scene's pin, or pip cannot resolve the two together.
"pf-core~=0.24.0",
# General MIDI: files, note maps, transforms and the pattern library. The same pf-core pin.
"groovebin~=0.4.1",
]
[project.urls]
Repository = "https://github.com/phierceweb/logicxkit"
Issues = "https://github.com/phierceweb/logicxkit/issues"
Changelog = "https://github.com/phierceweb/logicxkit/blob/main/CHANGELOG.md"
[project.scripts]
logicxkit = "logicxkit.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"ruff>=0.6",
# tests/test_declared_dependencies.py reads the pins above. pytest happens to pull this in;
# the check must not rest on that.
"packaging>=23",
# tests/test_sdist.py builds the sdist and the wheel; without it the test skips, in CI too.
"build>=1.0",
]
# Opt-in: only tests/rig needs it, and only on a machine with the real scene. Nothing in
# src/ imports it. Its pf-core pin must be the one above, or pip cannot resolve the two.
rig = [
"x32scene~=0.6.0",
]
[tool.setuptools.packages.find]
where = ["src"]
# The Swift scripts are run by `swift` at call time, so they must land beside the package
# in a wheel as well as in a checkout — see logicxkit/utils/swiftrun.py.
[tool.setuptools.package-data]
logicxkit = ["native/*.swift", "py.typed", "data/logic/*.json", "data/donors/*", "data/translate/*.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "W", "F", "B"]
ignore = ["E501", "B008", "B904"]