Skip to content

feat: add --packages to app2html CLI command #627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
S1M0N38 opened this issue Apr 8, 2025 · 0 comments · May be fixed by #628
Open

feat: add --packages to app2html CLI command #627

S1M0N38 opened this issue Apr 8, 2025 · 0 comments · May be fixed by #628

Comments

@S1M0N38
Copy link

S1M0N38 commented Apr 8, 2025

When creating an HTML version of the game from pyxapp, the Python packages (e.g. numpy) are not included.
You have to open the HTML and manually modify the launchPyxel to include packages.

It would be nice if the used packages can be specified during the conversion. For example, using an additional flag in the CLI:

pyxel app2html my_game.pyxapp --packages "numpy"
@S1M0N38 S1M0N38 linked a pull request Apr 8, 2025 that will close this issue
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 a pull request may close this issue.

1 participant