Skip to content

Commit e51a344

Browse files
authored
Install dev-shinylive via Makefile (#1184)
1 parent fb81e3a commit e51a344

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/py-shiny/setup/action.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ runs:
2525
shell: bash
2626
run: |
2727
pip install https://github.com/rstudio/py-htmltools/tarball/main
28-
# Install shiny _before_ shinylive; otherwise shinylive will install cause
29-
# shiny to be installed from PyPI, and may bring in old versions of
30-
# dependencies.
31-
pip install -e .
32-
pip install https://github.com/posit-dev/py-shinylive/tarball/main
3328
make install-deps
3429
3530
- name: Install

.github/workflows/build-docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
run: |
3535
cd docs
3636
make ../venv
37-
. ../venv/bin/activate && pip install https://github.com/posit-dev/py-htmltools/tarball/main https://github.com/posit-dev/py-shinylive/tarball/main
3837
make deps
3938
4039
- name: Run quartodoc

docs/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ help:
4040
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
4141

4242
dev-htmltools: $(PYBIN) ## Install development version of htmltools
43-
$(PYBIN)/pip install https://github.com/rstudio/py-htmltools/tarball/main
43+
$(PYBIN)/pip install https://github.com/posit-dev/py-htmltools/tarball/main
4444

45-
deps: $(PYBIN) ## Install build dependencies
45+
dev-shinylive: $(PYBIN) ## Install development version of shinylive
46+
$(PYBIN)/pip install https://github.com/posit-dev/py-shinylive/tarball/main
47+
48+
deps: $(PYBIN) dev-htmltools dev-shinylive ## Install build dependencies
4649
$(PYBIN)/pip install pip --upgrade
4750
$(PYBIN)/pip install -e ..[doc]
4851

docs/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ This directory contains files to generate Shiny for Python API documentation, us
88
To build the docs, first install the Python dependencies and Quarto extensions:
99

1010
```bash
11-
# Install development version of htmltools (do this if you are using a development version of shiny)
12-
make dev-htmltools
13-
1411
# Install build dependencies
1512
make deps
1613
```

0 commit comments

Comments
 (0)