Skip to content

feat: add package opt to app2html CLI cmd#628

Closed
S1M0N38 wants to merge 2074 commits intokitao:mainfrom
S1M0N38:main
Closed

feat: add package opt to app2html CLI cmd#628
S1M0N38 wants to merge 2074 commits intokitao:mainfrom
S1M0N38:main

Conversation

@S1M0N38
Copy link

@S1M0N38 S1M0N38 commented Apr 8, 2025

Fix #627
I've try to use the same CLI opts style used in other commads,

@S1M0N38 S1M0N38 marked this pull request as ready for review April 8, 2025 16:23
@kitao kitao force-pushed the main branch 2 times, most recently from 59f76dd to 23a80d9 Compare February 17, 2026 11:53
@kitao
Copy link
Owner

kitao commented Mar 19, 2026

Thank you for your contribution, and sorry for the very late response!

Pyxel places great importance on .pyxapp files working consistently across all environments — both native and web. Adding a --packages option to app2html would make it easier to create .pyxapp-based apps that depend on external packages, which could lead to apps that only work in specific environments. (Users are of course free to use any packages when distributing their games as Python scripts.)

I'm also considering migrating the web runtime from Pyodide to PocketPy in the future, which would make Pyodide-specific package support obsolete.

For these reasons, I've decided not to incorporate this change at this time. I appreciate your effort and understanding.

@kitao kitao closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add --packages to app2html CLI command

5 participants