Skip to content

Commit

Permalink
BUG: Update itkwasm-mesh-to-poly-data hatch test config
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 2, 2024
1 parent 2bc68c1 commit 2211d9e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions wasm/python/itkwasm-mesh-to-poly-data/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,20 @@ Source = "https://github.com/InsightSoftwareConsortium/ITKMeshToPolyData"

[tool.hatch.envs.default.scripts]
test = [
"hatch build -t wheel",
"pytest --dist-dir=./dist --rt=chrome",
"hatch build -t wheel ./dist/pyodide/",
"pytest --dist-dir=./dist/pyodide --rt=chrome",
]
download-pyodide = [
"curl -L https://github.com/pyodide/pyodide/releases/download/0.24.1/pyodide-0.24.1.tar.bz2 -o pyodide.tar.bz2",
"tar xjf pyodide.tar.bz2",
"rm -rf dist pyodide.tar.bz2",
"rm -rf dist/pyodide pyodide.tar.bz2",
"mkdir -p dist",
"mv pyodide dist",
]
serve = [
"hatch build -t wheel",
"hatch build -t wheel ./dist/pyodide/",
'echo "\nVisit http://localhost:8877/console.html\n"',
"python -m http.server --directory=./dist 8877",
"python -m http.server --directory=./dist/pyodide 8877",
]


Expand Down

0 comments on commit 2211d9e

Please sign in to comment.