Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[project]
name = "pi-stomp"
version = "3.0.0"
description = "DIY high definition, multi-effects stompbox platform for guitar, bass and keyboards"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "GPL-3.0-or-later" }
authors = [{ name = "Randall Reichenbach" }, { name = "Micah van de Merwe" }]
keywords = ["guitar", "effects", "pedal", "raspberry-pi", "audio", "lv2"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Multimedia :: Sound/Audio",
]

dependencies = [
"pyyaml>=6.0",
"jsonschema>=4.0",
"python-rtmidi>=1.4",
"requests>=2.28",
"pyalsaaudio>=0.9; sys_platform == 'linux'",
]

[project.optional-dependencies]
# Raspberry Pi hardware dependencies (platform-specific)
hardware = [
"gfxhat>=0.0.1; sys_platform == 'linux'",
"matplotlib>=3.5",
"rpi-ws281x>=5.0; sys_platform == 'linux'",
"adafruit-circuitpython-neopixel>=6.3",
"adafruit-circuitpython-rgb-display>=3.10",
"adafruit-circuitpython-mcp3xxx>=1.4",
]

# Development dependencies
dev = ["pytest>=7.0", "pytest-cov>=4.0", "black>=23.0", "ruff>=0.1.0"]

[project.urls]
Homepage = "https://treefallsound.com"
Documentation = "https://www.treefallsound.com/wiki/doku.php"
Repository = "https://github.com/TreeFallSound/pi-stomp"
Issues = "https://github.com/TreeFallSound/pi-stomp/issues"

[project.scripts]
pistomp = "modalapistomp:main"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["modalapi", "pistomp", "uilib", "common"]

[tool.black]
line-length = 120
target-version = ["py311"]

[tool.ruff]
line-length = 120
target-version = "py311"

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
Loading