File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This script is used to serve the static files from the 'dist' directory for installation of python wheels.
2
+ # 1. Install deps with `pip install ".[dev]"`,
3
+ # 2. Install build tool with `pip install build`
4
+ # 3. Run `python -m build`
5
+ # You should see something alongside:
6
+ # ```Successfully built mat3ra_api_examples-dev9+g7c6e8d9.tar.gz and
7
+ # mat3ra_api_examples-dev9+g7c6e8d9-py3-none-any.whl
8
+ # ```
9
+ # 4. Copy the wheel file name
10
+ # 5. Run the server with `python wheel_server.py`
11
+ # The server will be available at http://localhost:8080,
12
+ # 6. use micropip in pyodide to install wheel from that URL `<server_url>/<wheel_file_name>`, i.e:
13
+ # await micropip.install("http://localhost:8080/mat3ra_api_examples-dev9+g7c6e8d9-py3-none-any.whl", deps=False)
14
+
1
15
import argparse
2
16
import glob
3
17
import os
You can’t perform that action at this time.
0 commit comments