Skip to content

Commit 8c8d3a7

Browse files
committed
Fix install from sdist for RTD
1 parent 3209b93 commit 8c8d3a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# You can set these variables from the command line.
22
CPYTHON_PATH = ../cpython
33
PYTHON = python3
4-
PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz)
54
SPHINXOPTS =
65

76

@@ -15,10 +14,11 @@ help:
1514
.PHONY: venv
1615
venv:
1716
$(PYTHON) -m pip install build
17+
rm -rf dist/
1818
$(PYTHON) -m build
1919
cd $(CPYTHON_PATH)/Doc \
2020
&& make venv \
21-
&& ./venv/bin/pip install $(PACKAGE_ABS_PATH)
21+
&& ./venv/bin/pip install $(CURDIR)/dist/python_docs_theme-*.tar.gz
2222

2323
.PHONY: html
2424
html: venv

0 commit comments

Comments
 (0)