Skip to content
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
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: a03224b
_commit: 9642da9
_src_path: https://github.com/python-project-templates/base.git
add_docs: true
add_extension: js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wiki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cp README.md docs/wiki/Home.md
- uses: Andrew-Chen-Wang/github-wiki-action@v4
- uses: Andrew-Chen-Wang/github-wiki-action@v5
with:
path: docs/wiki
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,21 @@
develop-py:
uv pip install -e .[develop]

develop-js:
cd js; pnpm install && npx playwright install
develop-js: requirements-js

develop: develop-js develop-py ## setup project for development

.PHONY: requirements-py requirements-js requirements
requirements-py: ## install prerequisite python build requirements
python -m pip install --upgrade pip toml
python -m pip install `python -c 'import toml; c = toml.load("pyproject.toml"); print("\n".join(c["build-system"]["requires"]))'`
python -m pip install `python -c 'import toml; c = toml.load("pyproject.toml"); print(" ".join(c["project"]["optional-dependencies"]["develop"]))'`

requirements-js: ## install prerequisite javascript build requirements
cd js; pnpm install && npx playwright install

requirements: requirements-js requirements-py ## setup project for development

.PHONY: build-py build-js build
build-py:
python -m build -w -n
Expand Down
Loading