I moved the package loading code from pyodide.js into a separate file without other changes.
More specifically I changed `let loadScript;` ==> `export let loadScript;` and I added `import { Module } from "./module";` to the top of the file. Also everything got de-indented.
Split off load-pyodide.js from pyodide.js. I moved the package loading code from pyodide.js into a separate file without other changes.
More specifically I changed `let loadScript;` ==> `export let loadScript;` and I added `import { Module } from "./module";` to the top of the file. Also everything got de-indented.
package:
  name: astropy
  version: 3.2.3

source:
  url: https://pypi.io/packages/source/a/astropy/astropy-3.2.3.tar.gz
  sha256: 47f00816c2978fdd10f448c8f0337d6dca7b8cbeaab4bf272b5fd37cb4b890d3
  patches:
    - patches/fix_link_opts.patch

requirements:
  run:
    - distutils
    - numpy

test:
  imports:
    - astropy

package:
  name: astropy
  version: 3.2.3

source:
  url: https://pypi.io/packages/source/a/astropy/astropy-3.2.3.tar.gz
  sha256: 47f00816c2978fdd10f448c8f0337d6dca7b8cbeaab4bf272b5fd37cb4b890d3
  patches:
    - patches/fix_link_opts.patch

requirements:
  run:
    - distutils
    - numpy

test:
  imports:
    - astropy
