Skip to content

Hints for building with pyodide? #2

@anyahelene

Description

@anyahelene

Hi, are there any hints for how to build this as a pyodide package? I'm trying with Pyodide stable (0.17.0, with Python 3.8), and I think I've almost made it work by:

  • linking unthrow into the pyodide/packages directory
  • building pyodide with PYODIDE_PACKAGES="unthrow" make

but there might be issues with the meta.yaml: path refers to non-existent ./src. If I change path to unthrow and move setup.py to the unthrow subdirectory, it builds successfully with the HEAD version of Pyodide (i.e., almost version 0.18.0), though it complains about missing Python.h when building with 0.17.0. Does this perhaps mean that unthrow has been updated for Python 3.9?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions