Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59c2bbc

Browse files
committed
Generate release cycle SVG during deploy
1 parent 9830ad7 commit 59c2bbc

File tree

3 files changed

+9
-908
lines changed

3 files changed

+9
-908
lines changed

.gitignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ __pycache__/
99
# Distribution / packaging
1010
.Python
1111
env/
12+
ENV/
1213
venv/
1314
build/
1415
develop-eggs/
@@ -80,13 +81,11 @@ celerybeat-schedule
8081
# dotenv
8182
.env
8283

83-
# virtualenv
84-
venv/
85-
ENV/
86-
venv/
87-
8884
# Spyder project settings
8985
.spyderproject
9086

9187
# Rope project settings
9288
.ropeproject
89+
90+
# Generated SVG file
91+
include/release-cycle.svg

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ html: ensure-venv versions
7373
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
7474

7575
.PHONY: dirhtml
76-
dirhtml: ensure-venv
76+
dirhtml: ensure-venv versions
7777
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
7878
@echo
7979
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
@@ -189,14 +189,14 @@ serve:
189189
"(see https://github.com/python/cpython/issues/80510)"
190190

191191
include/branches.csv: include/release-cycle.json
192-
$(PYTHON) _tools/generate_release_cycle.py
192+
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py
193193

194194
include/end-of-life.csv: include/release-cycle.json
195-
$(PYTHON) _tools/generate_release_cycle.py
195+
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py
196196

197197
include/release-cycle.svg: include/release-cycle.json
198-
$(PYTHON) _tools/generate_release_cycle.py
198+
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py
199199

200200
.PHONY: versions
201-
versions: include/branches.csv include/end-of-life.csv include/release-cycle.svg
201+
versions: venv include/branches.csv include/end-of-life.csv include/release-cycle.svg
202202
@echo Release cycle data generated.

0 commit comments

Comments
 (0)