### Description

Moves the logic of generating zip archive of a shared library from `buildall` to `buildpkg` so that thread-unsafe `shutil.make_archive` won't bother us anymore.

Move making archive of shared libraries to buildpkg. ### Description

Moves the logic of generating zip archive of a shared library from `buildall` to `buildpkg` so that thread-unsafe `shutil.make_archive` won't bother us anymore.

from pyodide_build.testing import run_in_pyodide


@run_in_pyodide(packages=["Jinja2"])
def test_jinja2():
    import jinja2

    template = jinja2.Template("Hello {{ name }}!")
    content = template.render(name="Zach")
    assert content == "Hello Zach!"

from pyodide_build.testing import run_in_pyodide


@run_in_pyodide(packages=["Jinja2"])
def test_jinja2():
    import jinja2

    template = jinja2.Template("Hello {{ name }}!")
    content = template.render(name="Zach")
    assert content == "Hello Zach!"
