mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
Shinylive/Pyodide was failing because it tried to install packages that are already pre-built in Pyodide (like matplotlib and its C-extension dependencies). Changes: - Split requirements into two files: - requirements.txt: Minimal deps for Shinylive (only astral, shiny, shinyswatch) - requirements-dev.txt: Full deps for local development (includes matplotlib) - Update README to use requirements-dev.txt for local development - Update GitHub workflow to use requirements-dev.txt - Remove matplotlib version pinning as Pyodide provides it This fixes the "Can't find a pure Python 3 wheel for 'contourpy'" error when loading the webapp at https://basnijholt.github.io/adaptive-lighting/
6 lines
No EOL
175 B
Text
6 lines
No EOL
175 B
Text
# Minimal requirements for Shinylive deployment
|
|
# Only packages not pre-installed in Pyodide
|
|
# matplotlib and dependencies are already in Pyodide
|
|
astral==2.2
|
|
shiny
|
|
shinyswatch |