From 8c8d3a7903bff0ceaee0f173f35d94ea1d782142 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 27 Jul 2026 15:09:06 +0300 Subject: [PATCH] Fix install from sdist for RTD --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dda3c23..9588bfa 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ # You can set these variables from the command line. CPYTHON_PATH = ../cpython PYTHON = python3 -PACKAGE_ABS_PATH = $(shell pwd)/$(shell find dist/python-docs-theme-*.tar.gz) SPHINXOPTS = @@ -15,10 +14,11 @@ help: .PHONY: venv venv: $(PYTHON) -m pip install build + rm -rf dist/ $(PYTHON) -m build cd $(CPYTHON_PATH)/Doc \ && make venv \ - && ./venv/bin/pip install $(PACKAGE_ABS_PATH) + && ./venv/bin/pip install $(CURDIR)/dist/python_docs_theme-*.tar.gz .PHONY: html html: venv