Skip to content

Create a static, self-contained and relocatable version of PyScript during the release process. #2408

@ntoll

Description

@ntoll

User feedback (thanks @brettowe) has identified the following need:

  • An "offline" online version of PyScript that doesn't require a network connection.
  • Pre-built so you don't have to go through all the manual build steps to generate an "offline" version of things like Pyodide or MicroPython.
  • Make this a download associated with each release to provide a relocatable / copy-able directory containing all the pre-built static assets you need.
  • Developers to add, to a clearly signposted place, their own PyScript app code.
  • It should be clear how to include packages, and other assets that are usually downloaded via the network, into an offline first PyScript app.
  • Should work great within Electron or Toga/Positron etc (pending further investigation).

The result? A relocatable offline first PyScript app.

Expected outcome: the creation of offline.zip assets for each release of PyScript, scripted so folks can do this locally, updates to tooling (Makefile?) and docs to explain how to include dependencies and work with delivery technology like electron/positron.

Metadata

Metadata

Assignees

Labels

github_actionsPull requests that update GitHub Actions codetag: environmentRelated to Python environment configurationtag: interpreterRelated to the Python interpreter configurationtag: toolingRelated to the configuration of infrastructure and toolinguser-friendliness

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions