38 lines
1.3 KiB
TOML
38 lines
1.3 KiB
TOML
[[source]]
|
|
url = "https://pypi.org/simple"
|
|
verify_ssl = true
|
|
name = "pypi"
|
|
|
|
[packages]
|
|
websockets = "*"
|
|
spidev = "*"
|
|
watchfiles = "*"
|
|
async-tkinter-loop = "*"
|
|
mido = "*"
|
|
python-rtmidi = "*"
|
|
pyaudio = "*"
|
|
aubio = "*"
|
|
websocket-client = "*"
|
|
|
|
[dev-packages]
|
|
|
|
[requires]
|
|
python_version = "3.11"
|
|
|
|
[scripts]
|
|
run = "python src/main.py"
|
|
ui = "python src/ui_client.py"
|
|
control = "python src/control_server.py"
|
|
sound = "python src/sound.py"
|
|
dev-ui = 'watchfiles "python src/ui_client.py" src'
|
|
dev-control = 'watchfiles "python src/control_server.py" src'
|
|
install = "pipenv install"
|
|
install-system = "bash -c 'sudo apt-get update && sudo apt-get install -y python3-spidev python3-pip python3-dev portaudio19-dev libasound2-dev'"
|
|
monitor-esp32 = "bash -c 'source $HOME/esp/esp-idf/export.sh && cd esp32 && idf.py -p ${ESPPORT:-/dev/ttyACM0} monitor'"
|
|
build-esp32 = "bash -c 'source $HOME/esp/esp-idf/export.sh && cd esp32 && idf.py build'"
|
|
flash-esp32 = "bash -c 'source $HOME/esp/esp-idf/export.sh && cd esp32 && idf.py -p $ESPPORT -b ${ESPSPEED:-460800} flash'"
|
|
watch-esp32 = "watchfiles 'bash -c \"source $HOME/esp/esp-idf/export.sh && cd esp32 && idf.py -p ${ESPPORT:-/dev/ttyACM0} -b ${ESPSPEED:-460800} flash monitor\"' esp32/main"
|
|
send-json = "python test/send_json.py"
|
|
send-net = "python test/test_networking.py"
|
|
sound-run = "python src/sound.py"
|