Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add instructions for building Python packages and update scripts #598

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.