From 1a09d95882ab3238193613546ce5b2953e94b0c1 Mon Sep 17 00:00:00 2001 From: Jens Troeger Date: Fri, 10 Apr 2026 16:21:29 +1000 Subject: [PATCH] fix: make the generated Simple Index (see PEP 503) better navigatable --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 100d5355..b1827425 100644 --- a/Makefile +++ b/Makefile @@ -212,8 +212,8 @@ PROJECT_NAME := $(shell python -c $$'import re; print(re.sub(r"[-_.]+", "-", "$( .PHONY: simple-index simple-index: dist/$(PACKAGE_WHEEL_NAME) dist/$(PACKAGE_SDIST_NAME) mkdir -p dist/simple-index/$(PROJECT_NAME) - echo -e "\nSimple Index$(PACKAGE_NAME)" > dist/simple-index/index.html - echo -e "\nSimple Index: $(PROJECT_NAME)$(PACKAGE_WHEEL_NAME)$(PACKAGE_SDIST_NAME)" > dist/simple-index/$(PROJECT_NAME)/index.html + echo -e "\nSimple Index$(PACKAGE_NAME)" > dist/simple-index/index.html + echo -e "\nSimple Index: $(PROJECT_NAME)" > dist/simple-index/$(PROJECT_NAME)/index.html cp -f dist/$(PACKAGE_WHEEL_NAME) dist/simple-index/$(PROJECT_NAME)/ cp -f dist/$(PACKAGE_SDIST_NAME) dist/simple-index/$(PROJECT_NAME)/ python -m tarfile --create dist/$(PACKAGE_BASE_NAME)-pep503-simple-index.tar dist/simple-index/