Skip to content

Commit

Permalink
chore: add instructions for building Python packages and update scrip…
Browse files Browse the repository at this point in the history
…ts (#598)
  • Loading branch information
domoritz authored Nov 22, 2024
1 parent 523b1af commit 3aa8d89
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ To build and develop Mosaic locally:
* Run `npm i` to install dependencies.
* Run `npm test` to run the test suite.
* Run `npm run build` to build client-side bundles.
* Run `uv build --all-packages` to build the Python packages.

To run local interactive examples:

Expand Down
3 changes: 1 addition & 2 deletions packages/duckdb-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"prepublishOnly": "uv run pytest && uv run ruff check && uv run ruff format --check",
"publish": "uv build && uvx twine upload --skip-existing dist/*",
"release": "npm run prepublishOnly && npm run publish",
"dev": "uv run watchmedo auto-restart --pattern '*.py' --recursive --signal SIGTERM uv run duckdb-server",
"clean": "rimraf dist"
"dev": "uv run watchmedo auto-restart --pattern '*.py' --recursive --signal SIGTERM uv run duckdb-server"
}
}
3 changes: 1 addition & 2 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"lint": "eslint src",
"prepublishOnly": "npm run test && npm run lint && uv run ruff check && uv run ruff format --check && npm run build",
"publish": "uv build && uvx twine upload --skip-existing dist/*",
"release": "npm run prepublishOnly && npm run publish",
"clean": "rimraf dist"
"release": "npm run prepublishOnly && npm run publish"
},
"dependencies": {
"@uwdata/mosaic-core": "^0.12.0",
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3aa8d89

Please sign in to comment.